Create
This function creates a new decal with the specified material applied.
Syntax
- Decal Create( Material material, Entity* parent=NULL )
Parameters
- material: the material to apply to the new decal. This material should use a decal shader.
- parent: the parent entity of the new decal.
Returns
Returns a new decal entity.