Click or drag to resize

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
Syntax
C#
public 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: T
Existing or new joint bound to links that contain the specified visuals.
See Also