Click or drag to resize

ContainerRendererAspect Class

A basic container renderer.
Inheritance Hierarchy
SystemObject
  System.DynamicDynamicObject
    NotifyPropertyChangedBase
      SimpleCustomTypeDescriptor
        GlobalizedProperties
          Demo3D.CommonBindableBase
            Demo3D.VisualsSerializableObject
              Demo3D.VisualsAspectComponentBase
                Demo3D.Visuals.RenderersRendererAspectBase
                  Demo3D.Visuals.RenderersRendererAspectBaseContainerRenderable
                    Demo3D.Visuals.RenderersRendererAspectContainerRenderable
                      Demo3D.Visuals.Renderers.PrimitivesPrimitiveRendererAspectContainerRenderable
                        Demo3D.Visuals.Renderers.PrimitivesContainerRendererAspect

Namespace: Demo3D.Visuals.Renderers.Primitives
Assembly: Demo3D.Core (in Demo3D.Core.dll) Version: 19.00.00
Syntax
C#
public class ContainerRendererAspect : PrimitiveRendererAspect<ContainerRenderable>

The ContainerRendererAspect type exposes the following members.

Constructors
 NameDescription
Public methodContainerRendererAspectInitializes a new instance of the ContainerRendererAspect class
Top
Properties
 NameDescription
Public propertyAspectManagedBy The Aspect that this is managed by.
(Inherited from AspectComponentBase)
Public propertyBaseRatioThe ratio of the bottom base of the Container to the top opening of the Container. 1.0 will mean square sides, 0.9 (the default) makes the sides taper in to 10% smaller than the top.
Public propertyBindingNameStore Manages binding names for aspect bindable items.
(Inherited from AspectComponentBase)
Public propertyBoundingBox
(Inherited from RendererAspectT)
Public propertyBoundingSphere
(Inherited from RendererAspectT)
Public propertyCastShadowsWhether the renderer casts a shadow.
(Inherited from RendererAspectBase)
Public propertyContainerBoundingBox The bounding box of the owning container.
(Inherited from RendererAspectBase)
Public propertyContainerBoundingSphere The bounding sphere of the owning container.
(Inherited from RendererAspectBase)
Public propertyContainerWorldMatrix The world matrix of the owning container.
(Inherited from RendererAspectBase)
Public propertyControlPoints
(Overrides PrimitiveRendererAspectTControlPoints)
Public propertyDepthThe depth of the outer edges at the top of the Container.
Public propertyDocument
(Inherited from PrimitiveRendererAspectT)
Public propertyHasBackThe color and optional texture of the Container.
Public propertyHasBottomThe container can be used as a funnel if this is false.
Public propertyHasFrontThe container can be used as a pigeon hole if this is false.
Public propertyHasLeftWhether the container has a left side or not.
Public propertyHasRenderables The value for whether the aspect has renderables to be rendered.
(Inherited from RendererAspectBaseT)
Public propertyHasRightWhether the container has a right side or not.
Public propertyHasTopWhether the container has a top or not. Useful for creating hollow shapes such as pallets.
Public propertyHeightThe height of the Container from the top to the bottom.
Public propertyId
(Inherited from SerializableObject)
Public propertyIsCollapsed Collapse or expand the aspect in the Aspect Viewer.
(Inherited from AspectComponentBase)
Public propertyIsEnabled The value for whether the aspect is enabled.
(Inherited from AspectComponentBase)
Public propertyIsLayerVisible The value for whether the owning container's layer is visible.
(Inherited from RendererAspectBase)
Public propertyIsReadOnly When true, disable editing in the Aspect Viewer
(Inherited from AspectComponentBase)
Public propertyMaterialThe color and optional texture of the Container.
Protected propertyRenderable
(Inherited from PrimitiveRendererAspectT)
Public propertyRenderables
(Inherited from RendererAspectBaseT)
Public propertyShowResizeControlPoints
(Inherited from PrimitiveRendererAspectT)
Public propertyThicknessThe thickness of the sides of the Container.
Public propertyWidthThe width of the outer edges at the top of the Container.
Public propertyWorldMatrix
(Inherited from PrimitiveRendererAspectT)
Top
Methods
 NameDescription
Public methodBindingName Retrieves or generates a binding name for an aspect property.
(Inherited from AspectComponentBase)
Protected methodCanAdd Determine whether the aspect can be added to the AspectContainer.
(Inherited from AspectComponentBase)
Public methodCanRender(IDisplay) Determines whether the aspect can be rendered
(Inherited from RendererAspectBase)
Public methodCanRender(IDisplaySettings)
(Inherited from RendererAspectBase)
Protected methodCleanupBindingAPI Remove all bindable items that have been added to the binding api via UpdateBindingAPI.
(Inherited from AspectComponentBase)
Public methodCreateManagedAspectT Create a managed aspect of the desired type in this aspect's container. The managed aspect will be owned by the declared aspect.
(Inherited from AspectComponentBase)
Public methodCreateMesh
(Inherited from PrimitiveRendererAspectT)
Public methodFindAspectT Find an aspect of the desired type in this aspect's container.
(Inherited from AspectComponentBase)
Public methodFindCreateAspectT Find or, if one isn't found, create an aspect of the desired type in this aspect's container.
(Inherited from AspectComponentBase)
Public methodFindCreateManagedAspectT Find or, if one isn't found, create a managed aspect of the desired type in this aspect's container. The managed aspect will be owned by the declared aspect.
(Inherited from AspectComponentBase)
Public methodGetRenderablesU Get all IRenderable objects of the desired type, contained by this aspect.
(Inherited from RendererAspectBaseT)
Public methodIsVisibleForLOD Method used to check if aspect is visible with regards to Level of Detail.
(Inherited from RendererAspectBase)
Public methodNotifyMeshAnimationChanged
(Inherited from RendererAspectBase)
Protected methodNotifyRenderableRemoved
(Inherited from RendererAspectBaseT)
Public methodNotifyRenderableRequest Invokes RenderableRequest.
(Inherited from RendererAspectBase)
Public methodNotifyShouldRenderInvalidated
(Inherited from RendererAspectBase)
Protected methodOnAdded
(Inherited from PrimitiveRendererAspectT)
Protected methodOnAssigned Called when assigned to an aspect container, this should never be invoked manually. No other aspects should be accessed within this method.
(Inherited from AspectComponentBase)
Protected methodOnDisabled Called when disabled, this should never be invoked manually
(Inherited from RendererAspectBase)
Protected methodOnEnabled Called when enabled, this should never be invoked manually
(Inherited from RendererAspectBase)
Protected methodOnInitialize Called when the aspect container is Initialized, this should never be invoked manually
(Inherited from AspectComponentBase)
Protected methodOnRemoved
(Inherited from PrimitiveRendererAspectT)
Protected methodOnReset Called when the aspect container is Reset, this should never be invoked manually
(Inherited from AspectComponentBase)
Public methodPick
(Inherited from RendererAspectT)
Public methodPickFromWorldFrustum
(Inherited from RendererAspectT)
Public methodPreRender
(Inherited from RendererAspectT)
Public methodRaisePropertiesChanged Raise an PropertyChanged event for each value.
(Inherited from BindableBase)
Public methodRaisePropertyChanged(PropertyChangedEventArgs) Raise an PropertyChanged event for the specified value.
(Inherited from BindableBase)
Public methodRaisePropertyChanged(String) Raise an PropertyChanged event for the specified value.
(Inherited from BindableBase)
Public methodReleaseBindingName Releases the generated binding name for an aspect property.
(Inherited from AspectComponentBase)
Public methodRemoveAspect(Object) Remove the desired aspect from this aspect's container.
(Inherited from AspectComponentBase)
Public methodRemoveAspectT Remove the aspect of the desired type from this aspect's container.
(Inherited from AspectComponentBase)
Public methodRemoveManagedAspects Remove all aspects that are being managed by this aspect..
(Inherited from AspectComponentBase)
Public methodRender
(Inherited from RendererAspectT)
Public methodRenderShadow
(Inherited from RendererAspectT)
Public methodRequestRender Utility method to request a complete render from the app. This should be called after changing a property that affects the rendering of this aspect.
(Inherited from RendererAspectBase)
Public methodSerializableDependency(SerializableObject) Whether the specified object depends on the serializable object.
(Inherited from AspectComponentBase)
Obsolete
Public methodSerializableDependency(Visual) Whether the specified visual depends on the serializable object.
(Inherited from AspectComponentBase)
Obsolete
Protected methodSetINotifyPropertyChangedPropertyT Checks to see if the property is the same as the specified value. It they're different then set the value and raise an PropertyChanged event. Property changes on the new value are also listened to and, if one occurs, the propertyChangedCallback handler will be invoked.
(Inherited from BindableBase)
Protected methodSetPropertyT(T, T, PropertyChangedEventArgs) Checks to see if the property is the same as the specified value. It they're different then set the value and raise an PropertyChanged event.
(Inherited from BindableBase)
Protected methodSetPropertyT(T, T, String) Checks to see if the property is the same as the specified value. It they're different then set the value and raise an PropertyChanged event.
(Inherited from BindableBase)
Public methodToString
(Inherited from AspectComponentBase)
Protected methodUpdateBindingAPI If this aspect implements IBindableItemOwner, this method performs the following for each BindableItem:
If the aspect is disabled OR the item is not part of the binding interface (see IsBindingInterface), then remove it from the binding API.
Otherwise, if the item is part of the binding interface AND the item does not already have a declared binding (see HasBindingInterface), add the item to the binding API.
Any bindable items that are added to the binding API will appear in the IO browser grid and can be further utilized for controls testing.
(Inherited from AspectComponentBase)
Top
Events
 NameDescription
Public eventCastShadowsChanged Occurs when the value of CastShadowsChanged changes.
(Inherited from RendererAspectBase)
Public eventIsEnabledChanged Occurs when the value of IsEnabled changes.
(Inherited from AspectComponentBase)
Public eventMeshAnimationChanged Occurs when the the current animation changes.
(Inherited from RendererAspectBase)
Public eventOnNameChanged Occurs when the Name of an aspect changes.
(Inherited from AspectComponentBase)
Public eventRenderableRequest Occurs before the renderables are about to be use so that they can be configured correctly, eg before a render or an export.
(Inherited from RendererAspectBase)
Public eventShouldRenderInvalidated Occurs when the aspect should re-evaluate if it should render.
(Inherited from RendererAspectBase)
Public eventUpdated Occurs after a renderable has been updated.
(Inherited from RendererAspectBase)
Top
Fields
 NameDescription
Protected fieldcontrolPoints
(Inherited from PrimitiveRendererAspectT)
Top
See Also