Interface: BabylonTransformPortOptions
Defined in: babylon-interactions/src/transform-port.ts:33
Extended by
Properties
| Property | Type | Description | Defined in |
|---|---|---|---|
createQuaternion? | () => BabylonQuaternionLike | Builds the Quaternion written to a node whose rotationQuaternion is null - a node still driven by Euler rotation, which is Babylon's default. Pass () => Quaternion.Identity() from @babylonjs/core. The fallback is a plain { x, y, z, w } object, which carries the numbers correctly but is NOT a Babylon Quaternion and will fail as soon as Babylon calls a method on it. So: either give a node a real rotationQuaternion before registering it, or supply this factory. A node that already has one needs neither - it is mutated in place. | babylon-interactions/src/transform-port.ts:45 |