MixedRealityShaderGUI.PropertyEnabled(MaterialProperty) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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