Share via


SpotLightComponent.SpotAngleDeg 属性

定义

聚光锥的内外角 (度) 。

public:
 property Microsoft::Azure::RemoteRendering::Float2 SpotAngleDeg { Microsoft::Azure::RemoteRendering::Float2 get(); void set(Microsoft::Azure::RemoteRendering::Float2 value); };
public Microsoft.Azure.RemoteRendering.Float2 SpotAngleDeg { get; set; }
member this.SpotAngleDeg : Microsoft.Azure.RemoteRendering.Float2 with get, set
Public Property SpotAngleDeg As Float2

属性值

注解

* 内角内的所有内容均以全亮度照亮。 * 外角以外的任何内容都不会被照亮。 * 在内角和外角之间应用一个可产生类似阴茎效果的落差。

InvalidParam如果 x 或 y 超出 [0; 89] 范围,或者 x 为 >= y,则会发生错误。

适用于