Click or drag to resize

CollisionSensorAspect Class

A collision sensor.
Inheritance Hierarchy
System.DynamicDynamicObject
  NotifyPropertyChangedBase
    SimpleCustomTypeDescriptor
      GlobalizedProperties
        Demo3D.CommonBindableBase
          Demo3D.VisualsSerializableObject
            Demo3D.VisualsAspectComponentBase
              Demo3D.VisualsVisualAspect
                Demo3D.VisualsBindableVisualAspect
                  Demo3D.VisualsExportableVisualAspect
                    Demo3D.ComponentsCollisionSensorAspect

Namespace:  Demo3D.Components
Assembly:  Demo3D.Core (in Demo3D.Core.dll) Version: 18.03.00
Syntax
C#
public sealed class CollisionSensorAspect : ExportableVisualAspect, 
	ISensorAspect, IPhysicsGroupProvider

The CollisionSensorAspect type exposes the following members.

Constructors
  NameDescription
Public methodCollisionSensorAspect
Initializes a new instance of the CollisionSensorAspect class
Top
Properties
  NameDescription
Public propertyAspectManagedBy
The Aspect that this is managed by.
(Inherited from AspectComponentBase.)
Public propertyBindingNameStore
Manages binding names for aspect bindable items.
(Inherited from AspectComponentBase.)
Public propertyBlockedMaterial
The material assigned to the sensor and all descendants when it is blocked. Note: Will only apply when both ClearedMaterial and BlockedMaterial are set.
Public propertyBlockingVisuals
The list of visuals that are currently blocking the collision sensor.
Public propertyClearedMaterial
The material assigned to the sensor and all descendants when it is cleared. Note: Will only apply when both ClearedMaterial and BlockedMaterial are set.
Public propertyControlMode
The control mode for the collision sensor.
Public propertyId (Inherited from SerializableObject.)
Public propertyIsBlocked
Whether the collision sensor is currently blocked.
Public propertyIsBlockedBindableItem
Public propertyIsCleared
Whether the collision sensor is currently blocked.
Public propertyIsClearedBindableItem
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 propertyIsReadOnly
When true, disable editing in the Aspect Viewer
(Inherited from AspectComponentBase.)
Public propertySenseMultipleLoads
Whether the collision sensor can be blocked by multiple visuals simultaneously.
Public propertyVisual (Inherited from VisualAspect.)
Top
Methods
  NameDescription
Public methodBindingName
Retrieves or generates a binding name for an aspect property.
(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 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 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 methodSerializableDependency(SerializableObject) Obsolete.
Whether the specified object depends on the serializable object.
(Inherited from AspectComponentBase.)
Public methodSerializableDependency(Visual) Obsolete.
Whether the specified visual depends on the serializable object.
(Inherited from AspectComponentBase.)
Public methodToString (Inherited from AspectComponentBase.)
Top
Events
  NameDescription
Public eventIsEnabledChanged
Occurs when the value of IsEnabled changes.
(Inherited from AspectComponentBase.)
Public eventOnBlocked
Public eventOnCleared
Public eventOnNameChanged
Occurs when the Name of an aspect changes.
(Inherited from AspectComponentBase.)
Top
See Also