DirectionalLightComponent 类

定义

以固定方向全局发射光的光源。

public ref class DirectionalLightComponent : Microsoft::Azure::RemoteRendering::LightComponentBase
public class DirectionalLightComponent : Microsoft.Azure.RemoteRendering.LightComponentBase
type DirectionalLightComponent = class
    inherit LightComponentBase
Public Class DirectionalLightComponent
Inherits LightComponentBase
继承

注解

此组件模拟非常遥远的光源,例如太阳或月亮。 因此,将忽略所有者的位置,并且仅使用方向。 光照向所有者 Entity的负 Z 轴的方向。

属性

Color

Gamma 颜色空间中的光的颜色。

(继承自 LightComponentBase)
Enabled

此组件的启用状态。

(继承自 ComponentBase)
Intensity

光线的总体亮度和范围。

(继承自 LightComponentBase)
InteropId

以固定方向全局发射光的光源。

(继承自 ObjectBase)
Owner

Entity此组件附加到的 。

(继承自 ComponentBase)
Type

此组件的 确切类型

(继承自 ComponentBase)
Valid

此组件是否仍然有效。

(继承自 ComponentBase)

方法

AsToolingObject<ToolingObject>()

以固定方向全局发射光的光源。

(继承自 ObjectBase)
Destroy()

销毁运行时中的组件。

(继承自 ComponentBase)
Equals(Object)

以固定方向全局发射光的光源。

(继承自 ObjectBase)
GetHashCode()

以固定方向全局发射光的光源。

(继承自 ObjectBase)

适用于

另请参阅