Skip to content
Matt Dean edited this page Feb 2, 2020 · 3 revisions

Decal instance Component. See Getting started for more information.

Public Properties

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.

Public Methods

SetTransform

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.