MechanismAspectFindCreateJointT Method |
Attempts to find the joint that connects the specified base visual to the specified
effector visual. If no existing joint exists then attempts to create a new joint of the
specified type bound to links containing the specified visuals.
Namespace:
Demo3D.Visuals.KJE
Assembly:
Demo3D.Core (in Demo3D.Core.dll) Version: 15.0.2.11458
Syntaxpublic T FindCreateJoint<T>(
Visual visual,
Visual baseVisual
)
where T : new(), KinematicJoint
Parameters
- visual
- Type: Demo3D.VisualsVisual
The effector visual. - baseVisual
- Type: Demo3D.VisualsVisual
The base visual (specify null for ground).
Type Parameters
- T
- The type of kinematic joint.
Return Value
Type:
TExisting or new joint bound to links that contain the specified visuals.
See Also