「MonoGame/クラスライブラリ/DirectionalLightクラス」の版間の差分
imported>Administrator ページの作成:「DirectionalLightクラスは、BasicEffectクラスで使われているディレクショナル光源(...」 |
imported>Administrator 編集の要約なし |
||
| (同じ利用者による、間の4版が非表示) | |||
| 1行目: | 1行目: | ||
DirectionalLightクラスは、主に[[MonoGame/クラスライブラリ/BasicEffectクラス|BasicEffectクラス]]で使われている[[平行光源]](指向性の光源)を表すクラスである。 | |||
== 継承 == | == 継承 == | ||
| 41行目: | 36行目: | ||
| public | | public | ||
! style="white-space:nowrap;text-align:left" | Direction | ! style="white-space:nowrap;text-align:left" | Direction | ||
| | | 光源の方向 | ||
|- | |- | ||
| public | | public | ||
| 54行目: | 49行目: | ||
== 関連項目 == | == 関連項目 == | ||
* [[MonoGame/クラスライブラリ/BasicEffectクラス]] | * [[MonoGame/クラスライブラリ/BasicEffectクラス]] | ||
* [[ | * [[アンビエントライティング]] | ||
* [[ | * [[ディフューズライティング]] | ||
* [[スペキュラライティング]] | |||
* [[ | * [[エミッションライティング]] | ||
* [[ | |||
[[category: MonoGame]] | [[category: MonoGame]] | ||
2017年11月7日 (火) 10:06時点における最新版
DirectionalLightクラスは、主にBasicEffectクラスで使われている平行光源(指向性の光源)を表すクラスである。
継承[編集 | ソースを編集]
- System.Object
- Microsoft.Xna.Framework.Graphics.DirectionalLight
名前空間[編集 | ソースを編集]
構文[編集 | ソースを編集]
public sealed class DirectionalLight
コンストラクタ[編集 | ソースを編集]
| 名称 | 概要 | |
|---|---|---|
| public | DirectionalLight |
プロパティ[編集 | ソースを編集]
| 名称 | 概要 | |
|---|---|---|
| public | Enabled | 光源の有効化、無効化 |
| public | Direction | 光源の方向 |
| public | DiffuseColor | 光源の色。ポリゴンに色が点いている場合は掛け合わせて出力される。 |
| public | SpecularColor | 光源の反射光の色。まともに反射光を計算すると非現実的なので簡易的に色を付けようという代物。 |