ライトプローブプロクシボリュームコンポーネントを使うと、大きな非静的ゲームオブジェクトにより高い解像度のライティングを供給することが可能です。
デフォルトでは、プローブで照らされたレンダラーはシーンの周囲のライトプローブから補間された単数のライトプローブから光を受けています。このため、ゲームオブジェクトは、その面のどの位置にあっても恒常的なアンビエントライティングを受けます。ライトは球面調和関数を使うため、回転性のグラデーションを持ちますが、空間的なグラデーションは持ちません。これは、より大きなゲームオブジェクトとパーティクルでよりはっきりとわかります。ゲームオブジェクトに広がるライティングはアンカーポイントのライティングに一致しており、ゲームオブジェクトがライティングのグラデーションにまたがる場合は、ゲームオブジェクトのある部分が正しく表示されせん。
このコンポーネントは、バウンディングボリュームの内部に補間されたライトプローブの 3D グリッドを生成します。グリッドの解像度は、ユーザーが指定できます。補間されたライトプローブの球面調和係数は、3D テクスチャにアップデートされ、その 3D テクスチャは拡散 (diffuse) アンビエントライティングへの影響を計算するためにレンダリング時にサンプリングされます。これにより、プローブに照らされたゲームオブジェクトに空間的なグラデーションが加えられます。
See Also: Light Probes.
isFeatureSupported | ライトプローブプロクシボリュームがサポートされているか確認します。 |
boundingBoxMode | 補間されたライトプローブの 3D グリッドを生成するためのバウンディングボックスモード。 |
boundsGlobal | 補間されたライトプローブの 3D グリッドが生成されるワールド空間のバウンディングボックス。 |
dataFormat | The texture data format used by the Light Probe Proxy Volume 3D texture. |
gridResolutionX | The 3D grid resolution on the x-axis. |
gridResolutionY | Y 軸の 3D グリッド解像度。 |
gridResolutionZ | Z 軸の 3D グリッド解像度。 |
originCustom | 補間されたライトプローブの 3D グリッドが生成されるバウンディングボックスのローカル空間座標の原点。 |
probeDensity | 補間されたライトプローブの密度。 |
probePositionMode | 補間されたライトプローブ位置が生成されるモード。 |
qualityMode | Determines how many Spherical Harmonics bands will be evaluated to compute the ambient color. |
refreshMode | ライトプローブのプロクシボリュームがリフレッシュする方法を設定します。 |
resolutionMode | 補間されたライトプローブのグリッドを生成するための解像度モード。 |
sizeCustom | 補間されたライトプローブの 3D グリッドが生成されるバウンディングボックスのサイズ。 |
Update | ライトプローブプロクシボリュームのアップデートを発生させます。 |
enabled | 有効であれば更新され、無効であれば更新されません。 |
isActiveAndEnabled | Reports whether a GameObject and its associated Behaviour is active and enabled. |
gameObject | このコンポーネントはゲームオブジェクトにアタッチされます。コンポーネントはいつもゲームオブジェクトにアタッチされています。 |
tag | ゲームオブジェクトのタグ |
transform | The Transform attached to this GameObject. |
hideFlags | Should the object be hidden, saved with the Scene or modifiable by the user? |
name | オブジェクト名 |
BroadcastMessage | ゲームオブジェクトまたは子オブジェクトにあるすべての MonoBehaviour を継承したクラスにある methodName 名のメソッドを呼び出します。 |
CompareTag | Checks the GameObject's tag against the defined tag. |
GetComponent | Gets a reference to a component of type T on the same GameObject as the component specified. |
GetComponentInChildren | Gets a reference to a component of type T on the same GameObject as the component specified, or any child of the GameObject. |
GetComponentInParent | Gets a reference to a component of type T on the same GameObject as the component specified, or any parent of the GameObject. |
GetComponents | Gets references to all components of type T on the same GameObject as the component specified. |
GetComponentsInChildren | Gets references to all components of type T on the same GameObject as the component specified, and any child of the GameObject. |
GetComponentsInParent | Gets references to all components of type T on the same GameObject as the component specified, and any parent of the GameObject. |
SendMessage | ゲームオブジェクトにアタッチされているすべての MonoBehaviour にある methodName と名付けたメソッドを呼び出します |
SendMessageUpwards | ゲームオブジェクトと親(の親、さらに親 ... )にアタッチされているすべての MonoBehaviour にある methodName と名付けたメソッドを呼び出します |
TryGetComponent | Gets the component of the specified type, if it exists. |
GetInstanceID | Gets the instance ID of the object. |
ToString | Returns the name of the object. |
Destroy | Removes a GameObject, component or asset. |
DestroyImmediate | Destroys the object obj immediately. You are strongly recommended to use Destroy instead. |
DontDestroyOnLoad | Do not destroy the target Object when loading a new Scene. |
FindAnyObjectByType | Retrieves any active loaded object of Type type. |
FindFirstObjectByType | Retrieves the first active loaded object of Type type. |
FindObjectOfType | タイプ type から最初に見つけたアクティブのオブジェクトを返します |
FindObjectsByType | Retrieves a list of all loaded objects of Type type. |
FindObjectsOfType | Gets a list of all loaded objects of Type type. |
Instantiate | original のオブジェクトをクローンします |
bool | オブジェクトが存在するかどうか |
operator != | 二つのオブジェクトが異なるオブジェクトを参照しているか比較します |
operator == | 2つのオブジェクト参照が同じオブジェクトを参照しているか比較します。 |
Did you find this page useful? Please give it a rating:
Thanks for rating this page!
What kind of problem would you like to report?
Thanks for letting us know! This page has been marked for review based on your feedback.
If you have time, you can provide more information to help us fix the problem faster.
Provide more information
You've told us this page needs code samples. If you'd like to help us further, you could provide a code sample, or tell us about what kind of code sample you'd like to see:
You've told us there are code samples on this page which don't work. If you know how to fix it, or have something better we could use instead, please let us know:
You've told us there is information missing from this page. Please tell us more about what's missing:
You've told us there is incorrect information on this page. If you know what we should change to make it correct, please tell us:
You've told us this page has unclear or confusing information. Please tell us more about what you found unclear or confusing, or let us know how we could make it clearer:
You've told us there is a spelling or grammar error on this page. Please tell us what's wrong:
You've told us this page has a problem. Please tell us more about what's wrong:
Thank you for helping to make the Unity documentation better!
Your feedback has been submitted as a ticket for our documentation team to review.
We are not able to reply to every ticket submitted.