Unigine::ObjectSky Class
Header: | #include <UnigineObjects.h> |
Inherits from: | Object |
ObjectSky Class
Members
static ObjectSkyPtr create ( ) #
Constructor. Creates a new sky object.static int type ( ) #
Returns the type of the node.Return value
ObjectSky node type identifier.void setSpherical ( bool spherical ) #
Sets a value indicating if a sky background cube map should be mapped onto a whole sphere rather then a hemisphere.Arguments
- bool spherical - true for the whole sphere; false for a sky hemisphere.
bool isSpherical ( ) const#
Returns a value indicating whether a sky background cube map should be mapped onto a whole sphere rather then a hemisphere.Return value
true if the sky is a sphere; false, if a hemisphere.Last update:
2024-08-16
Help improve this article
Was this article helpful?
(or select a word/phrase and press Ctrl+Enter)