MDLSkyCubeTexture.SunElevation Property

Definition

Gets or sets the angular position, from the zenith, of the Sun's position.

[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual float SunElevation { [Foundation.Export("sunElevation")] get; [Foundation.Export("setSunElevation:")] set; }
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
[<get: Foundation.Export("sunElevation")>]
[<set: Foundation.Export("setSunElevation:")>]
member this.SunElevation : single with get, set

Property Value

Attributes

Remarks

To control the horizontal position of the sun, app developers should rotate the scene within the sky cube.

Applies to