Skip to content

Documentation / scene / createTransformAccess

Function: createTransformAccess()

createTransformAccess(obj, exposeNode?): TransformAccess

Defined in: libs/scene/src/animation/joint_dynamics/joint_dynamics_system.ts:30

Create a transform adapter that lets the joint dynamics solver read from and write to a SceneNode.

Parameters

obj

SceneNode

Scene node to expose through the TransformAccess interface.

exposeNode?

boolean = true

Returns

TransformAccess

A TransformAccess wrapper backed by the supplied scene node.

Released under the MIT License.