Unigine.WorldSwitcher Class
Inherits from: | Node |
Interface for world switcher handling. See also the UnigineScript analog.
See Also#
A set of UnigineScript API samples located in the <UnigineSDK>/data/samples/worlds/ folder:
- switcher_00
- switcher_01
WorldSwitcher Class
Properties
float MaxDistance#
The current maximum distance of visibility. if a camera is further from a node than this maximum distance, a node is not visible. the default is inf.
float MinDistance#
The current minimum distance of visibility. if a camera is closer to a node than this minimum distance, a node is not visible. the default is -inf.
Members
WorldSwitcher ( ) #
Constructor. Creates a world switcher.static int type ( ) #
Last update:
2022-12-14
Help improve this article
Was this article helpful?
(or select a word/phrase and press Ctrl+Enter)