DecalObject Class
This class describes how to create and modify object decals.
DecalObject Class
This class inherits from DecalMembers
void clear ()
Deletes the decal.void create (Object object)
Creates a new decal instance.void create ()
Creates a new decal.float getOffset ()
Returns the current offset of the decal towards the projection center.Return value
The offset of the decal towards the projection center, in units.int getTwoSided ()
Returns a value indicating if the decal is two-sided.Return value
1 if the decal is two-sided; otherwise - 0.int isDynamic ()
1 if the decal is created dynamically; otherwise - 0.Return value
Returns a value indicating if the decal is created dynamically.void release ()
Releases the decal.void setDynamic (int dynamic)
Sets a flag indicating that decal is created dynamically.Arguments
- int dynamic - Dynamical creation flag.
void setOffset (float offset)
Sets the new offset of the decal towards the projection center.Arguments
- float offset - The offset of the decal towards the projection center, in units.
void setTwoSided (int two_sided)
Sets a two-sided type flag to the decal.Arguments
- int two_sided - Two-sided type flag.
Last update: 03.07.2017
Помогите сделать статью лучше
Была ли эта статья полезной?
(или выберите слово/фразу и нажмите Ctrl+Enter