class
render::DecalProxy
Render-thread representation of a decal, stored in packed arrays in DecalObjectStorageBase.
Public
Methods
GetTransform
Returns the world space transform of the decal.
GetWorldTransformMatrix
Returns the world space transform matrix for the decal.
GetWorldTransformMatrixWithoutScale
Returns the world space transform matrix without scale for the decal.
GetWorldSize
Returns the decal size in world space, accounting for the scene object's scale.
GetWorldMaxDistance
Returns the max distance in world space, accounting for the scene object's scale.
GetBounds
Returns world space bounds that encompass the decal's area of influence.
SetRendererId
Sets the renderer-assigned packed slot ID.
GetRendererId
Returns the renderer-assigned packed slot ID.
GetSize
Width and height of the decal.
GetMaterial
Determines the material to use when rendering the decal.
GetMaxDistance
Determines the maximum distance (from its origin) at which the decal is displayed.
GetLayerMask
Bitfield that allows you to mask on which objects will the decal be projected onto.
Only objects with the matching layers will be projected onto. Note that decal layer mask only supports 32-bits and objects with layers in bits >= 32 will always be projected onto.
GetLayer
Determines the layer that controls whether a system is considered visible in a specific camera.
Layer must match camera layer bitfield in order for the camera to render the decal.