C# Class Microsoft.MixedReality.Toolkit.Editor.MixedRealityStandardShaderGUI

A custom shader inspector for the "Mixed Reality Toolkit/Standard" shader.
Inheritance: Microsoft.MixedReality.Toolkit.Editor.MixedRealityShaderGUI
Show file Open project: interaction-lab/MoveToCode

Protected Properties

Property Type Description
albedoAlphaMode MaterialProperty
albedoAssignedAtRuntime MaterialProperty
albedoColor MaterialProperty
albedoMap MaterialProperty
alphaCutoff MaterialProperty
blendedClippingWidth MaterialProperty
borderLight MaterialProperty
borderLightOpaque MaterialProperty
borderLightOpaqueAlpha MaterialProperty
borderLightReplacesAlbedo MaterialProperty
borderLightUsesHoverColor MaterialProperty
borderMinValue MaterialProperty
borderWidth MaterialProperty
channelMap MaterialProperty
clippingBorder MaterialProperty
clippingBorderColor MaterialProperty
clippingBorderWidth MaterialProperty
directionalLight MaterialProperty
edgeSmoothingValue MaterialProperty
emissiveColor MaterialProperty
enableChannelMap MaterialProperty
enableEmission MaterialProperty
enableHoverColorOverride MaterialProperty
enableLocalSpaceTriplanarMapping MaterialProperty
enableNormalMap MaterialProperty
enableProximityLightColorOverride MaterialProperty
enableTriplanarMapping MaterialProperty
environmentColorIntensity MaterialProperty
environmentColorThreshold MaterialProperty
environmentColorX MaterialProperty
environmentColorY MaterialProperty
environmentColorZ MaterialProperty
environmentColoring MaterialProperty
fadeBeginDistance MaterialProperty
fadeCompleteDistance MaterialProperty
fadeMinValue MaterialProperty
fluentLightIntensity MaterialProperty
hoverColorOverride MaterialProperty
hoverLight MaterialProperty
ignoreZScale MaterialProperty
independentCorners MaterialProperty
innerGlow MaterialProperty
innerGlowColor MaterialProperty
innerGlowPower MaterialProperty
instancedColor MaterialProperty
iridescence MaterialProperty
iridescenceAngle MaterialProperty
iridescenceIntensity MaterialProperty
iridescenceThreshold MaterialProperty
iridescentSpectrumMap MaterialProperty
metallic MaterialProperty
nearLightFade MaterialProperty
nearPlaneFade MaterialProperty
normalMap MaterialProperty
normalMapScale MaterialProperty
proximityLight MaterialProperty
proximityLightCenterColorOverride MaterialProperty
proximityLightMiddleColorOverride MaterialProperty
proximityLightOuterColorOverride MaterialProperty
proximityLightSubtractive MaterialProperty
proximityLightTwoSided MaterialProperty
reflections MaterialProperty
refraction MaterialProperty
refractiveIndex MaterialProperty
rimColor MaterialProperty
rimLight MaterialProperty
rimPower MaterialProperty
roundCornerMargin MaterialProperty
roundCornerRadius MaterialProperty
roundCorners MaterialProperty
roundCornersRadius MaterialProperty
smoothness MaterialProperty
specularHighlights MaterialProperty
sphericalHarmonics MaterialProperty
stencil MaterialProperty
stencilComparison MaterialProperty
stencilOperation MaterialProperty
stencilReference MaterialProperty
triplanarMappingBlendSharpness MaterialProperty
vertexColors MaterialProperty
vertexExtrusion MaterialProperty
vertexExtrusionSmoothNormals MaterialProperty
vertexExtrusionValue MaterialProperty

Public Methods

Method Description
AssignNewShaderToMaterial ( Material material, Shader oldShader, Shader newShader ) : void
OnGUI ( MaterialEditor materialEditor, Array props ) : void

Protected Methods

Method Description
AdvancedOptions ( MaterialEditor materialEditor, Material material ) : void
FindProperties ( Array props ) : void
FluentOptions ( MaterialEditor materialEditor, Material material ) : void
MainMapOptions ( MaterialEditor materialEditor, Material material ) : void
MaterialChanged ( Material material ) : void
RenderingOptions ( MaterialEditor materialEditor, Material material ) : void
ScaleRequired ( ) : bool
SetupMaterialWithAlbedo ( Material material, MaterialProperty albedoMap, MaterialProperty albedoAlphaMode, MaterialProperty albedoAssignedAtRuntime ) : void

Private Methods

Method Description
UpgradeShaderForLightweightRenderPipeline ( ) : void
UpgradeShaderForLightweightRenderPipelineValidate ( ) : bool

Method Details

AdvancedOptions() protected method

protected AdvancedOptions ( MaterialEditor materialEditor, Material material ) : void
materialEditor MaterialEditor
material Material
return void

AssignNewShaderToMaterial() public method

public AssignNewShaderToMaterial ( Material material, Shader oldShader, Shader newShader ) : void
material Material
oldShader Shader
newShader Shader
return void

FindProperties() protected method

protected FindProperties ( Array props ) : void
props Array
return void

FluentOptions() protected method

protected FluentOptions ( MaterialEditor materialEditor, Material material ) : void
materialEditor MaterialEditor
material Material
return void

MainMapOptions() protected method

protected MainMapOptions ( MaterialEditor materialEditor, Material material ) : void
materialEditor MaterialEditor
material Material
return void

MaterialChanged() protected method

protected MaterialChanged ( Material material ) : void
material Material
return void

OnGUI() public method

public OnGUI ( MaterialEditor materialEditor, Array props ) : void
materialEditor MaterialEditor
props Array
return void

RenderingOptions() protected method

protected RenderingOptions ( MaterialEditor materialEditor, Material material ) : void
materialEditor MaterialEditor
material Material
return void

ScaleRequired() protected method

protected ScaleRequired ( ) : bool
return bool

SetupMaterialWithAlbedo() protected static method

protected static SetupMaterialWithAlbedo ( Material material, MaterialProperty albedoMap, MaterialProperty albedoAlphaMode, MaterialProperty albedoAssignedAtRuntime ) : void
material Material
albedoMap MaterialProperty
albedoAlphaMode MaterialProperty
albedoAssignedAtRuntime MaterialProperty
return void

Property Details

albedoAlphaMode protected property

protected MaterialProperty albedoAlphaMode
return MaterialProperty

albedoAssignedAtRuntime protected property

protected MaterialProperty albedoAssignedAtRuntime
return MaterialProperty

albedoColor protected property

protected MaterialProperty albedoColor
return MaterialProperty

albedoMap protected property

protected MaterialProperty albedoMap
return MaterialProperty

alphaCutoff protected property

protected MaterialProperty alphaCutoff
return MaterialProperty

blendedClippingWidth protected property

protected MaterialProperty blendedClippingWidth
return MaterialProperty

borderLight protected property

protected MaterialProperty borderLight
return MaterialProperty

borderLightOpaque protected property

protected MaterialProperty borderLightOpaque
return MaterialProperty

borderLightOpaqueAlpha protected property

protected MaterialProperty borderLightOpaqueAlpha
return MaterialProperty

borderLightReplacesAlbedo protected property

protected MaterialProperty borderLightReplacesAlbedo
return MaterialProperty

borderLightUsesHoverColor protected property

protected MaterialProperty borderLightUsesHoverColor
return MaterialProperty

borderMinValue protected property

protected MaterialProperty borderMinValue
return MaterialProperty

borderWidth protected property

protected MaterialProperty borderWidth
return MaterialProperty

channelMap protected property

protected MaterialProperty channelMap
return MaterialProperty

clippingBorder protected property

protected MaterialProperty clippingBorder
return MaterialProperty

clippingBorderColor protected property

protected MaterialProperty clippingBorderColor
return MaterialProperty

clippingBorderWidth protected property

protected MaterialProperty clippingBorderWidth
return MaterialProperty

directionalLight protected property

protected MaterialProperty directionalLight
return MaterialProperty

edgeSmoothingValue protected property

protected MaterialProperty edgeSmoothingValue
return MaterialProperty

emissiveColor protected property

protected MaterialProperty emissiveColor
return MaterialProperty

enableChannelMap protected property

protected MaterialProperty enableChannelMap
return MaterialProperty

enableEmission protected property

protected MaterialProperty enableEmission
return MaterialProperty

enableHoverColorOverride protected property

protected MaterialProperty enableHoverColorOverride
return MaterialProperty

enableLocalSpaceTriplanarMapping protected property

protected MaterialProperty enableLocalSpaceTriplanarMapping
return MaterialProperty

enableNormalMap protected property

protected MaterialProperty enableNormalMap
return MaterialProperty

enableProximityLightColorOverride protected property

protected MaterialProperty enableProximityLightColorOverride
return MaterialProperty

enableTriplanarMapping protected property

protected MaterialProperty enableTriplanarMapping
return MaterialProperty

environmentColorIntensity protected property

protected MaterialProperty environmentColorIntensity
return MaterialProperty

environmentColorThreshold protected property

protected MaterialProperty environmentColorThreshold
return MaterialProperty

environmentColorX protected property

protected MaterialProperty environmentColorX
return MaterialProperty

environmentColorY protected property

protected MaterialProperty environmentColorY
return MaterialProperty

environmentColorZ protected property

protected MaterialProperty environmentColorZ
return MaterialProperty

environmentColoring protected property

protected MaterialProperty environmentColoring
return MaterialProperty

fadeBeginDistance protected property

protected MaterialProperty fadeBeginDistance
return MaterialProperty

fadeCompleteDistance protected property

protected MaterialProperty fadeCompleteDistance
return MaterialProperty

fadeMinValue protected property

protected MaterialProperty fadeMinValue
return MaterialProperty

fluentLightIntensity protected property

protected MaterialProperty fluentLightIntensity
return MaterialProperty

hoverColorOverride protected property

protected MaterialProperty hoverColorOverride
return MaterialProperty

hoverLight protected property

protected MaterialProperty hoverLight
return MaterialProperty

ignoreZScale protected property

protected MaterialProperty ignoreZScale
return MaterialProperty

independentCorners protected property

protected MaterialProperty independentCorners
return MaterialProperty

innerGlow protected property

protected MaterialProperty innerGlow
return MaterialProperty

innerGlowColor protected property

protected MaterialProperty innerGlowColor
return MaterialProperty

innerGlowPower protected property

protected MaterialProperty innerGlowPower
return MaterialProperty

instancedColor protected property

protected MaterialProperty instancedColor
return MaterialProperty

iridescence protected property

protected MaterialProperty iridescence
return MaterialProperty

iridescenceAngle protected property

protected MaterialProperty iridescenceAngle
return MaterialProperty

iridescenceIntensity protected property

protected MaterialProperty iridescenceIntensity
return MaterialProperty

iridescenceThreshold protected property

protected MaterialProperty iridescenceThreshold
return MaterialProperty

iridescentSpectrumMap protected property

protected MaterialProperty iridescentSpectrumMap
return MaterialProperty

metallic protected property

protected MaterialProperty metallic
return MaterialProperty

nearLightFade protected property

protected MaterialProperty nearLightFade
return MaterialProperty

nearPlaneFade protected property

protected MaterialProperty nearPlaneFade
return MaterialProperty

normalMap protected property

protected MaterialProperty normalMap
return MaterialProperty

normalMapScale protected property

protected MaterialProperty normalMapScale
return MaterialProperty

proximityLight protected property

protected MaterialProperty proximityLight
return MaterialProperty

proximityLightCenterColorOverride protected property

protected MaterialProperty proximityLightCenterColorOverride
return MaterialProperty

proximityLightMiddleColorOverride protected property

protected MaterialProperty proximityLightMiddleColorOverride
return MaterialProperty

proximityLightOuterColorOverride protected property

protected MaterialProperty proximityLightOuterColorOverride
return MaterialProperty

proximityLightSubtractive protected property

protected MaterialProperty proximityLightSubtractive
return MaterialProperty

proximityLightTwoSided protected property

protected MaterialProperty proximityLightTwoSided
return MaterialProperty

reflections protected property

protected MaterialProperty reflections
return MaterialProperty

refraction protected property

protected MaterialProperty refraction
return MaterialProperty

refractiveIndex protected property

protected MaterialProperty refractiveIndex
return MaterialProperty

rimColor protected property

protected MaterialProperty rimColor
return MaterialProperty

rimLight protected property

protected MaterialProperty rimLight
return MaterialProperty

rimPower protected property

protected MaterialProperty rimPower
return MaterialProperty

roundCornerMargin protected property

protected MaterialProperty roundCornerMargin
return MaterialProperty

roundCornerRadius protected property

protected MaterialProperty roundCornerRadius
return MaterialProperty

roundCorners protected property

protected MaterialProperty roundCorners
return MaterialProperty

roundCornersRadius protected property

protected MaterialProperty roundCornersRadius
return MaterialProperty

smoothness protected property

protected MaterialProperty smoothness
return MaterialProperty

specularHighlights protected property

protected MaterialProperty specularHighlights
return MaterialProperty

sphericalHarmonics protected property

protected MaterialProperty sphericalHarmonics
return MaterialProperty

stencil protected property

protected MaterialProperty stencil
return MaterialProperty

stencilComparison protected property

protected MaterialProperty stencilComparison
return MaterialProperty

stencilOperation protected property

protected MaterialProperty stencilOperation
return MaterialProperty

stencilReference protected property

protected MaterialProperty stencilReference
return MaterialProperty

triplanarMappingBlendSharpness protected property

protected MaterialProperty triplanarMappingBlendSharpness
return MaterialProperty

vertexColors protected property

protected MaterialProperty vertexColors
return MaterialProperty

vertexExtrusion protected property

protected MaterialProperty vertexExtrusion
return MaterialProperty

vertexExtrusionSmoothNormals protected property

protected MaterialProperty vertexExtrusionSmoothNormals
return MaterialProperty

vertexExtrusionValue protected property

protected MaterialProperty vertexExtrusionValue
return MaterialProperty