Click or drag to resize

CollisionSensorAspect Class

A collision sensor.
Inheritance Hierarchy
SystemObject
  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: 14.0.0.10531
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 propertyAspectId
An internal CAD-package specific Id for the Aspect.
(Inherited from ExportableVisualAspect.)
Public propertyAspectManagedBy
The Aspect that this is managed by.
(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 propertyContextVisual
The Visual that represents the top level part or assembly from the CAD package.
(Inherited from ExportableVisualAspect.)
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 (Inherited from AspectComponentBase.)
Public propertyIsInitialized (Inherited from AspectComponentBase.)
Public propertyIsReadOnly (Inherited from AspectComponentBase.)
Public propertyName
A unique name for the aspect
(Inherited from AspectComponentBase.)
Public propertySenseMultipleLoads
Whether the collision sensor can be blocked by multiple visuals simultaneously.
Public propertyVisual (Inherited from VisualAspect.)
Top
Methods
Events
  NameDescription
Public eventIsEnabledChanged (Inherited from AspectComponentBase.)
Public eventOnBlocked
Public eventOnCleared
Top
See Also