Editar

Compartilhar via


MixedRealityShaderGUI.PropertyEnabled(MaterialProperty) Method

Definition

Check whether shader feature is enabled

protected:
 static bool PropertyEnabled(UnityEditor::MaterialProperty ^ property);
protected static bool PropertyEnabled (UnityEditor.MaterialProperty property);
static member PropertyEnabled : UnityEditor.MaterialProperty -> bool
Protected Shared Function PropertyEnabled (property As MaterialProperty) As Boolean

Parameters

property
UnityEditor.MaterialProperty

float property to check against

Returns

false if 0.0f, true otherwise

Applies to