Class SkyReflectionSettings
Settings for the global sky reflections.
class Microsoft::Azure::RemoteRendering::SkyReflectionSettings final
Properties
SkyReflectionTexture
The sky Texture used for reflections.
This can be either a cubemap or a 2D texture in spherical coordinates.
- A Result.InvalidParam error occurs if the provided texture is invalid.
- A Result.InvalidType error occurs if the provided texture is not a 2D or cube texture.
auto GetSkyReflectionTexture() const noexcept -> ApiHandle<Microsoft::Azure::RemoteRendering::Texture>;
auto SetSkyReflectionTexture(ApiHandle<Microsoft::Azure::RemoteRendering::Texture> const& value) noexcept -> Microsoft::Azure::RemoteRendering::Status;
SkyRotation
An optional rotation to apply to the sky reflection, given as a quaternion.
It is recommended to use a normalized quaternion, since that yields an intuitive representation of a rotation but it is not required. The quaternion will be normalized internally.
- A Result.InvalidParam error occurs if the provided quaternion is invalid.
auto GetSkyRotation() const noexcept -> Microsoft::Azure::RemoteRendering::Quaternion;
auto SetSkyRotation(Microsoft::Azure::RemoteRendering::Quaternion const& value) noexcept -> Microsoft::Azure::RemoteRendering::Status;
See also
Valid
Whether this object is still valid.
An object is invalid if it has been destroyed or if the connection has been lost. It is an error to call any other function on an invalid object.
auto GetValid() const noexcept -> bool;