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

A custom shader inspector for the "Mixed Reality Toolkit/Standard" shader.
Inheritance: Microsoft.MixedReality.Toolkit.Editor.MixedRealityShaderGUI
Mostra 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_oe property

protected MaterialProperty albedoAlphaMode
return MaterialProperty

albedoAssignedAtRuntime protected_oe property

protected MaterialProperty albedoAssignedAtRuntime
return MaterialProperty

albedoColor protected_oe property

protected MaterialProperty albedoColor
return MaterialProperty

albedoMap protected_oe property

protected MaterialProperty albedoMap
return MaterialProperty

alphaCutoff protected_oe property

protected MaterialProperty alphaCutoff
return MaterialProperty

blendedClippingWidth protected_oe property

protected MaterialProperty blendedClippingWidth
return MaterialProperty

borderLight protected_oe property

protected MaterialProperty borderLight
return MaterialProperty

borderLightOpaque protected_oe property

protected MaterialProperty borderLightOpaque
return MaterialProperty

borderLightOpaqueAlpha protected_oe property

protected MaterialProperty borderLightOpaqueAlpha
return MaterialProperty

borderLightReplacesAlbedo protected_oe property

protected MaterialProperty borderLightReplacesAlbedo
return MaterialProperty

borderLightUsesHoverColor protected_oe property

protected MaterialProperty borderLightUsesHoverColor
return MaterialProperty

borderMinValue protected_oe property

protected MaterialProperty borderMinValue
return MaterialProperty

borderWidth protected_oe property

protected MaterialProperty borderWidth
return MaterialProperty

channelMap protected_oe property

protected MaterialProperty channelMap
return MaterialProperty

clippingBorder protected_oe property

protected MaterialProperty clippingBorder
return MaterialProperty

clippingBorderColor protected_oe property

protected MaterialProperty clippingBorderColor
return MaterialProperty

clippingBorderWidth protected_oe property

protected MaterialProperty clippingBorderWidth
return MaterialProperty

directionalLight protected_oe property

protected MaterialProperty directionalLight
return MaterialProperty

edgeSmoothingValue protected_oe property

protected MaterialProperty edgeSmoothingValue
return MaterialProperty

emissiveColor protected_oe property

protected MaterialProperty emissiveColor
return MaterialProperty

enableChannelMap protected_oe property

protected MaterialProperty enableChannelMap
return MaterialProperty

enableEmission protected_oe property

protected MaterialProperty enableEmission
return MaterialProperty

enableHoverColorOverride protected_oe property

protected MaterialProperty enableHoverColorOverride
return MaterialProperty

enableLocalSpaceTriplanarMapping protected_oe property

protected MaterialProperty enableLocalSpaceTriplanarMapping
return MaterialProperty

enableNormalMap protected_oe property

protected MaterialProperty enableNormalMap
return MaterialProperty

enableProximityLightColorOverride protected_oe property

protected MaterialProperty enableProximityLightColorOverride
return MaterialProperty

enableTriplanarMapping protected_oe property

protected MaterialProperty enableTriplanarMapping
return MaterialProperty

environmentColorIntensity protected_oe property

protected MaterialProperty environmentColorIntensity
return MaterialProperty

environmentColorThreshold protected_oe property

protected MaterialProperty environmentColorThreshold
return MaterialProperty

environmentColorX protected_oe property

protected MaterialProperty environmentColorX
return MaterialProperty

environmentColorY protected_oe property

protected MaterialProperty environmentColorY
return MaterialProperty

environmentColorZ protected_oe property

protected MaterialProperty environmentColorZ
return MaterialProperty

environmentColoring protected_oe property

protected MaterialProperty environmentColoring
return MaterialProperty

fadeBeginDistance protected_oe property

protected MaterialProperty fadeBeginDistance
return MaterialProperty

fadeCompleteDistance protected_oe property

protected MaterialProperty fadeCompleteDistance
return MaterialProperty

fadeMinValue protected_oe property

protected MaterialProperty fadeMinValue
return MaterialProperty

fluentLightIntensity protected_oe property

protected MaterialProperty fluentLightIntensity
return MaterialProperty

hoverColorOverride protected_oe property

protected MaterialProperty hoverColorOverride
return MaterialProperty

hoverLight protected_oe property

protected MaterialProperty hoverLight
return MaterialProperty

ignoreZScale protected_oe property

protected MaterialProperty ignoreZScale
return MaterialProperty

independentCorners protected_oe property

protected MaterialProperty independentCorners
return MaterialProperty

innerGlow protected_oe property

protected MaterialProperty innerGlow
return MaterialProperty

innerGlowColor protected_oe property

protected MaterialProperty innerGlowColor
return MaterialProperty

innerGlowPower protected_oe property

protected MaterialProperty innerGlowPower
return MaterialProperty

instancedColor protected_oe property

protected MaterialProperty instancedColor
return MaterialProperty

iridescence protected_oe property

protected MaterialProperty iridescence
return MaterialProperty

iridescenceAngle protected_oe property

protected MaterialProperty iridescenceAngle
return MaterialProperty

iridescenceIntensity protected_oe property

protected MaterialProperty iridescenceIntensity
return MaterialProperty

iridescenceThreshold protected_oe property

protected MaterialProperty iridescenceThreshold
return MaterialProperty

iridescentSpectrumMap protected_oe property

protected MaterialProperty iridescentSpectrumMap
return MaterialProperty

metallic protected_oe property

protected MaterialProperty metallic
return MaterialProperty

nearLightFade protected_oe property

protected MaterialProperty nearLightFade
return MaterialProperty

nearPlaneFade protected_oe property

protected MaterialProperty nearPlaneFade
return MaterialProperty

normalMap protected_oe property

protected MaterialProperty normalMap
return MaterialProperty

normalMapScale protected_oe property

protected MaterialProperty normalMapScale
return MaterialProperty

proximityLight protected_oe property

protected MaterialProperty proximityLight
return MaterialProperty

proximityLightCenterColorOverride protected_oe property

protected MaterialProperty proximityLightCenterColorOverride
return MaterialProperty

proximityLightMiddleColorOverride protected_oe property

protected MaterialProperty proximityLightMiddleColorOverride
return MaterialProperty

proximityLightOuterColorOverride protected_oe property

protected MaterialProperty proximityLightOuterColorOverride
return MaterialProperty

proximityLightSubtractive protected_oe property

protected MaterialProperty proximityLightSubtractive
return MaterialProperty

proximityLightTwoSided protected_oe property

protected MaterialProperty proximityLightTwoSided
return MaterialProperty

reflections protected_oe property

protected MaterialProperty reflections
return MaterialProperty

refraction protected_oe property

protected MaterialProperty refraction
return MaterialProperty

refractiveIndex protected_oe property

protected MaterialProperty refractiveIndex
return MaterialProperty

rimColor protected_oe property

protected MaterialProperty rimColor
return MaterialProperty

rimLight protected_oe property

protected MaterialProperty rimLight
return MaterialProperty

rimPower protected_oe property

protected MaterialProperty rimPower
return MaterialProperty

roundCornerMargin protected_oe property

protected MaterialProperty roundCornerMargin
return MaterialProperty

roundCornerRadius protected_oe property

protected MaterialProperty roundCornerRadius
return MaterialProperty

roundCorners protected_oe property

protected MaterialProperty roundCorners
return MaterialProperty

roundCornersRadius protected_oe property

protected MaterialProperty roundCornersRadius
return MaterialProperty

smoothness protected_oe property

protected MaterialProperty smoothness
return MaterialProperty

specularHighlights protected_oe property

protected MaterialProperty specularHighlights
return MaterialProperty

sphericalHarmonics protected_oe property

protected MaterialProperty sphericalHarmonics
return MaterialProperty

stencil protected_oe property

protected MaterialProperty stencil
return MaterialProperty

stencilComparison protected_oe property

protected MaterialProperty stencilComparison
return MaterialProperty

stencilOperation protected_oe property

protected MaterialProperty stencilOperation
return MaterialProperty

stencilReference protected_oe property

protected MaterialProperty stencilReference
return MaterialProperty

triplanarMappingBlendSharpness protected_oe property

protected MaterialProperty triplanarMappingBlendSharpness
return MaterialProperty

vertexColors protected_oe property

protected MaterialProperty vertexColors
return MaterialProperty

vertexExtrusion protected_oe property

protected MaterialProperty vertexExtrusion
return MaterialProperty

vertexExtrusionSmoothNormals protected_oe property

protected MaterialProperty vertexExtrusionSmoothNormals
return MaterialProperty

vertexExtrusionValue protected_oe property

protected MaterialProperty vertexExtrusionValue
return MaterialProperty