-
-
Notifications
You must be signed in to change notification settings - Fork 49
Decal
Matt Dean edited this page Feb 2, 2020
·
3 revisions
BACK > Scripting API
Decal instance Component. See Getting started for more information.
decalData (DecalData [get set]) - Data object providing settings and inputs for this Decal.
matrix (Matrix4x4 [get]) - Decal projection matrix.
clipPlanes (Plane[] [get]) - Clipping planes used for culling Decal.
return void
Set Transform data for Decal.
| Argument | Type | Description |
|---|---|---|
| position | Vector3 | World space position for Decal. |
| direction | Vector3 | World space forward direction for Decal. |
| scale | Vector2 | Local space scale for Decal. |