OptionalcolorTint color for the decal. Default: 0xffffff.
OptionaldepthWhether to test against the depth buffer. Default: true.
OptionaldepthWhether to write to the depth buffer. Default: false.
OptionalfadeTime in seconds before the decal automatically fades out.
Surface normal direction for orientation.
OptionalopacityDecal opacity (0-1). Default: 1.
OptionalpolygonZ-fighting offset factor. Default: -4.
World position of the decal center.
OptionalrotationRotation around the normal axis in radians. Default: 0.
OptionalsizeSize of the decal (single number or [width, height]). Default: 1.
Texture to apply to the decal.
Props for the Decal component.