LightRig

LightRig class

表示 LightRig。

public sealed class LightRig : PVIObject, ILightRig

Properties

NameDescription
AsIPresentationComponent { get; }允许获取基本的 IPresentationComponent 接口。只读 IPresentationComponent
Direction { get; set; }光的方向。读写 LightingDirection
LightType { get; set; }表示可以应用于形状的预设光源。光 rig 表示一组以特定方式相对于 3D 场景定向的光。读写 LightRigPresetType

Methods

NameDescription
override Equals(object)与指定对象进行比较。
override GetHashCode()返回哈希代码。
GetRotation()旋转通过使用纬度坐标、经度坐标和围绕轴的旋转来定义。返回数组的第一个元素 - 纬度,第二个 - 经度,第三个 - 旋转。如果未定义旋转,则返回 null。
SetRotation(float, float, float)旋转通过使用纬度坐标、经度坐标和围绕轴的旋转来定义。如果任何坐标值为 float.NaN,则所有旋转未定义。

See Also