Field Class
UnigineScript is deprecated and will be removed in future releases. Please consider using C#/C++ instead, as these APIs are the preferred ones. Availability of new Engine features in UnigineScipt is not guaranteed, as the current level of support assumes only fixing critical issues.
Inherits: | Node |
This class allows you to modify fields masks.
Field Class
Members
void setFieldMask ( int mask ) #
Sets a mask specifying the area of the field node to be applied.Arguments
- int mask - An integer value, each bit of which is used to set a mask.
int getFieldMask ( ) #
Returns a mask specifying the area of the field node to be applied.Return value
The integer value, each bit of which is used to set a mask.void setViewportMask ( int mask ) #
Sets the current bit mask for rendering into the viewport.Arguments
- int mask - An integer value, each bit of which is used to set a mask.
int getViewportMask ( ) #
Returns the current bit mask for rendering into the viewport.Return value
The integer value, each bit of which is used to set a mask.Last update:
2020-04-10
Help improve this article
Was this article helpful?
(or select a word/phrase and press Ctrl+Enter)