CanvasMaterialAnimatorGraphicsToolsWireframe Class

Definition

This class was auto generated via Assets > Graphics Tools > Generate Canvas Material Animator. Use Unity's animation system to animate fields on this class to drive material properties on CanvasRenderers. Version=0.1.0

public class CanvasMaterialAnimatorGraphicsToolsWireframe : Microsoft.MixedReality.GraphicsTools.CanvasMaterialAnimatorBase
type CanvasMaterialAnimatorGraphicsToolsWireframe = class
    inherit CanvasMaterialAnimatorBase
Public Class CanvasMaterialAnimatorGraphicsToolsWireframe
Inherits CanvasMaterialAnimatorBase
Inheritance
UnityEngine.MonoBehaviour
CanvasMaterialAnimatorGraphicsToolsWireframe

Constructors

CanvasMaterialAnimatorGraphicsToolsWireframe()

Fields

_BaseColor

Shader property.

_BaseColorID

Shader property ID.

_BlendOp

Shader property.

_BlendOpID

Shader property ID.

_ColorWriteMask

Shader property.

_ColorWriteMaskID

Shader property ID.

_CullMode

Shader property.

_CullModeID

Shader property ID.

_CustomMode

Shader property.

_CustomModeID

Shader property ID.

_DstBlend

Shader property.

_DstBlendID

Shader property ID.

_Mode

Shader property.

_ModeID

Shader property ID.

_RenderQueueOverride

Shader property.

_RenderQueueOverrideID

Shader property ID.

_SrcBlend

Shader property.

_SrcBlendID

Shader property ID.

_WireColor

Shader property.

_WireColorID

Shader property ID.

_WireThickness

Shader property.

_WireThicknessID

Shader property ID.

_ZOffsetFactor

Shader property.

_ZOffsetFactorID

Shader property ID.

_ZOffsetUnits

Shader property.

_ZOffsetUnitsID

Shader property ID.

_ZTest

Shader property.

_ZTestID

Shader property ID.

_ZWrite

Shader property.

_ZWriteID

Shader property ID.

Properties

MaterialPropertiesFoldedOut

Flag to keep track of if the material properties are folded out (visible) or not.

(Inherited from CanvasMaterialAnimatorBase)
PreviewMaterial

Accessor to the material used during preview in editor.

(Inherited from CanvasMaterialAnimatorBase)
UseInstanceMaterials

When animated should a new material be instantiated?

(Inherited from CanvasMaterialAnimatorBase)

Methods

ApplyToMaterial()

Call this method after any properties have been modified via code and they need to be applied to the current material.

(Inherited from CanvasMaterialAnimatorBase)
ApplyToMaterial(Material)

This method will apply all serialized material properties on the current CanvasMaterialAnimator to the material passed in.

BuildPreviewGraph(PlayableGraph, Playable)

The Animation window calls this function when it samples an AnimationClip for the first time.

(Inherited from CanvasMaterialAnimatorBase)
GetTargetShaderName()

Returns the name of the shader this class was generated from.

InitializeFromMaterial(Material)

This method will extract all material properties from the material passed in to apply default values to the serialized properties of the current CanvasMaterialAnimator.

RestoreToSharedMaterial()

Call this method when the animator is idle and you wish to return the graphic's material to its default state. This will restore any batching behavior before animating.

(Inherited from CanvasMaterialAnimatorBase)
StartPreview()

Notification callback when the Animation window starts previewing an AnimationClip.

(Inherited from CanvasMaterialAnimatorBase)
StopPreview()

Notification callback when the Animation window stops previewing an AnimationClip.

(Inherited from CanvasMaterialAnimatorBase)
UpdatePreviewGraph(PlayableGraph)

Notification callback when the Animation Window updates its PlayableGraph before sampling an AnimationClip.

(Inherited from CanvasMaterialAnimatorBase)

Applies to