Tries to detemine the mechanism and link for the specified visual.
Namespace: Demo3D.Visuals.KJEAssembly: Demo3D.Core (in Demo3D.Core.dll) Version: 19.00.00
Syntaxpublic static bool TryGet(
Visual visual,
out MechanismAspect mechanism,
out KinematicLink link
)
Parameters
- visual Visual
- The visual.
- mechanism MechanismAspect
- The mechanism for the specified visual (or null).
- link KinematicLink
- The link for the specified visual (or null).
Return Value
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