Skip to main content

Interface: BabylonRegisterOptions

Defined in: babylon-interactions/src/host.ts:40

Extends

Properties

PropertyTypeDescriptionInherited fromDefined in
createQuaternion?() => BabylonQuaternionLikeBuilds 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.BabylonTransformPortOptions.createQuaternionbabylon-interactions/src/transform-port.ts:45
targetRadius?numberTargeting radius for the sphere hit-tester. Default 0.1 m.-babylon-interactions/src/host.ts:42