Tries to detemine the mechanism and link for the specified visual.
Namespace:
Demo3D.Visuals.KJE
Assembly:
Demo3D.Core (in Demo3D.Core.dll) Version: 18.03.00
Syntaxpublic static bool TryGet(
Visual visual,
out MechanismAspect mechanism,
out KinematicLink link
)
Parameters
- visual
- Type: Demo3D.VisualsVisual
The visual. - mechanism
- Type: Demo3D.Visuals.KJEMechanismAspect
The mechanism for the specified visual (or null). - link
- Type: Demo3D.Visuals.KJEKinematicLink
The link for the specified visual (or null).
Return Value
Type:
BooleanTrue if the mechanism and link were determined, false otherwise.
Remarks
This function is stronger than
Mechanism(Visual) and
Link(Visual). This function
will only return true if it found a link and a mechanism for the specified visual, where the mechanism
contains the found link. This guarantees that the mechanism found moves the specified visual.
See Also