Click or drag to resize

RigidBodyAspect Class

A perfectly rigid physics body.
Inheritance Hierarchy

Namespace:  Demo3D.Visuals
Assembly:  Demo3D.Core (in Demo3D.Core.dll) Version: 15.0.2.11458
Syntax
C#
public class RigidBodyAspect : ExportableVisualAspect

The RigidBodyAspect type exposes the following members.

Constructors
  NameDescription
Public methodRigidBodyAspect
Initializes a new instance of the RigidBodyAspect class
Top
Properties
  NameDescription
Public propertyAngularDamping
The angular damping coefficient (larger values increase the angular velocity lost over time).
Public propertyAngularFactor
The (world) axes in which the rigid body is permitted to rotate. Values of one and zero specify that rotation is disabled and enabled respectively.
Protected propertyapp (Inherited from VisualAspect.)
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.)
Protected propertyBindingInterface (Inherited from BindableVisualAspect.)
Public propertyCenterOfMassOffset
The local offset for the rigid body's center of mass.
Public propertyContextVisual
The Visual that represents the top level part or assembly from the CAD package.
(Inherited from ExportableVisualAspect.)
Protected propertydocument (Inherited from VisualAspect.)
Public propertyDynamic
Public propertyGravityEnabled
Whether gravity should affect the (dynamic) rigid body.
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 propertyIsInitialized
Gets the value of whether or not this aspect has been initialized. An aspect is initialized during the scenes initialization when starting a model.
(Inherited from AspectComponentBase.)
Public propertyIsReadOnly
When true, disable editing in the Aspect Viewer
(Inherited from AspectComponentBase.)
Public propertyKinematic
Whether the rigid body is kinematic.
Public propertyLinearDamping
The linear damping coefficient (larger values increase the linear velocity lost over time).
Public propertyLinearFactor
The (world) axes in which the rigid body is permitted to move. Values of one and zero specify that movement is disabled and enabled respectively.
Public propertyMass
The mass of the (dynamic) rigid body.
Public propertyName
A unique name for the aspect
(Inherited from AspectComponentBase.)
Public propertyVisual (Inherited from VisualAspect.)
Top
Methods
  NameDescription
Protected methodCanAdd (Overrides AspectComponentBaseCanAdd(String).)
Protected methodCleanupBindingAPI
Remove all bindable items that have been added to the binding api via UpdateBindingAPI.
(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.)
Protected methodOnAdded
Called when all other aspects have been added to an aspect container, this should never be invoked manually
(Inherited from AspectComponentBase.)
Protected methodOnAssigned (Inherited from BindableVisualAspect.)
Protected methodOnDisabled (Overrides ExportableVisualAspectOnDisabled.)
Protected methodOnEnabled (Overrides ExportableVisualAspectOnEnabled.)
Protected methodOnInitialize (Overrides AspectComponentBaseOnInitialize.)
Protected methodOnRemoved (Overrides AspectComponentBaseOnRemoved.)
Protected methodOnReset (Overrides AspectComponentBaseOnReset.)
Protected methodprint (Inherited from VisualAspect.)
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 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)
Whether the specified object depends on the serializable object.
(Inherited from AspectComponentBase.)
Public methodSerializableDependency(Visual)
Whether the specified visual depends on the serializable object.
(Inherited from AspectComponentBase.)
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.)
Protected methodUpdateBindingInterface (Inherited from BindableVisualAspect.)
Protected methodvector (Inherited from VisualAspect.)
Public methodWakeUp
Top
Events
See Also