Share via


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)

適用於

另請參閱