InteractableThemeShaderUtils.GetPropertyBlock(GameObject) Method

Definition

Get the MaterialPropertyBlock from a renderer on a gameObject

public:
 static UnityEngine::MaterialPropertyBlock ^ GetPropertyBlock(UnityEngine::GameObject ^ gameObject);
public static UnityEngine.MaterialPropertyBlock GetPropertyBlock (UnityEngine.GameObject gameObject);
static member GetPropertyBlock : UnityEngine.GameObject -> UnityEngine.MaterialPropertyBlock
Public Shared Function GetPropertyBlock (gameObject As GameObject) As MaterialPropertyBlock

Parameters

gameObject
UnityEngine.GameObject

Returns

UnityEngine.MaterialPropertyBlock

Applies to