Optional angle?: numberOptional captureUVS?: booleantrue: Use UV mapping from source meshfalse: Use default box mapping from the decal
Default false
Optional cullCreate decal only on front side if set to true
Default true
Optional localtrue: Sets created decal as child of source mesh
Default true
Optional normal?: Tuple<number, 3>Default [0, 0, 1] (forward direction)
Optional offset?: numberShifts decals away from source mesh in direction of "normal" vector
Default 0.001 (1mm)
Optional sideThe Babylon.js default for mesh side orientation value is Material.CounterClockWiseSideOrientation.
However if the mesh (in this case the created decal mesh) is located under a glTF root node, it has to be flipped,
using Material.ClockWiseSideOrientation.
Default Material.ClockWiseSideOrientation
Generated using TypeDoc
Default
0