Import
DecalGeometry is an addon, and must be imported explicitly, see Installation#Addons.
import { DecalGeometry } from 'three/addons/geometries/DecalGeometry.js';
Constructor
new DecalGeometry( mesh : Mesh, position : Vector3, orientation : Euler, size : Vector3 )
Constructs a new decal geometry.
| mesh |
The base mesh the decal should be projected on. |
| position |
The position of the decal projector. |
| orientation |
The orientation of the decal projector. |
| size |
The scale of the decal projector. |