RendererPropertyBlock
クラス in Arbor / 継承元: object
説明
Rendererへ割り当てられているMaterialPropertyBlockのラッパークラス。
メソッド
| メソッド名 | 説明 |
|---|---|
| Apply | RendererへMaterialPropertyBlockを適用する。 |
| Clear | Materialのプロパティ値をクリアする。 |
| GetColor | Color値をゲットする。 |
| GetFloat | float値をゲットする。 |
| GetMatrix | Matrix4x4値をゲットする。 |
| GetTexture | Texture値をゲットする。 |
| GetTextureOffset | TextureOffset値を取得する。 |
| GetTextureScale | TextureScale値を取得する。 |
| GetVector | Vector4値をゲットする。 |
| HasProperty | PropertyBlockがプロパティ値を持っているかどうかを返す。 |
| SetColor | Color値をセットする。 |
| SetFloat | float値をセットする。 |
| SetMatrix | Matrix4x4値をセットする。 |
| SetTexture | Texture値をセットする。 |
| SetTextureOffset | TextureOffset値を設定する。 |
| SetTextureScale | TextureScale値を設定する。 |
| SetVector | Vector4値をセットする。 |
| Update | RendererからMaterialPropertyBlockを更新する。 |
静的メソッド
| メソッド名 | 説明 |
|---|---|
| Get | Rendererへ割り当てられているRendererPropertyBlockを取得する。 |