コンテンツにスキップ

Sun

太陽の基本情報を保持するクラス

Constructors

new Sun()

new Sun(): Sun

Returns

Sun

Methods

getSunDirection()

getSunDirection(dst): Vector3

太陽ベクトルの情報のコピーを取得します

Parameters

Parameter Type Description
dst Vector3 方向(GOCS 正規化されていること)

Returns

Vector3

ベクトルのコピー(GOCS)


setSunDirection()

setSunDirection(direction): void

太陽ベクトルの情報を設定します

Parameters

Parameter Type Description
direction Vector3 方向(GOCS 正規化されていること)

Returns

void