Field Class
The scope of applications for UnigineScript is limited to implementing materials-related logic (material expressions, scriptable materials, brush materials). Do not use UnigineScript as a language for application logic, please consider C#/C++ instead, as these APIs are the preferred ones. Availability of new Engine features in UnigineScript (beyond its scope of applications) is not guaranteed, as the current level of support assumes only fixing critical issues.
Inherits from: | 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:
2021-12-13
Help improve this article
Was this article helpful?
(or select a word/phrase and press Ctrl+Enter)