See Also: DecalSet
Assembly: Urho (in Urho.dll)
Assembly Versions: 22.214.171.124
The members of Urho.DecalSet are listed below.
See Also: Drawable
|Material||Material. Return material. Or Set material. The material should use a small negative depth bias to avoid Z-fighting.|
|[read-only]||MaterialAttr||ResourceRef. Return material attribute.|
|MaxIndices||UInt32. Return maximum number of decal vertex indices. Or Set maximum number of decal vertex indices.|
|MaxVertices||UInt32. Return maximum number of decal vertices. Or Set maximum number of decal vertices.|
|[read-only]||NumDecals||UInt32. Return number of decals.|
|[read-only]||NumIndices||UInt32. Retur number of vertex indices in the decals.|
|[read-only]||NumVertices||UInt32. Retur number of vertices in the decals.|
|OptimizeBufferSize||Boolean. Set whether to optimize GPU buffer sizes according to current amount of decals. Default false, which will size the buffers according to the maximum vertices/indices. When true, buffers will be reallocated whenever decals are added/removed, which can be worse for performance.|
|Type||StringHash. Urho's type system type.|
|TypeName||String. Urho's low-level type name.|
|TypeNameStatic||String. Urho's low-level type name, accessible as a static method.|
|TypeStatic||StringHash. Urho's low-level type, accessible as a static method.|
|UpdateGeometryType||UpdateGeometryType. Return whether a geometry update is necessary, and if it can happen in a worker thread.|
|AddDecal(Drawable, Vector3, Quaternion, Single, Single, Single, Vector2, Vector2, Single, Single, UInt32)|
Add a decal at world coordinates, using a target drawable's geometry for reference. If the decal needs to move with the target, the decal component should be created to the target's node. Return true if successful.
Apply attribute changes that can not be applied immediately. Called after scene load or a network update.
Handle enabled/disabled state change.
Register object factory.
Remove all decals.
Remove n oldest decals.