CanvasMaterialAnimatorCanvasRadialSpinner 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 CanvasMaterialAnimatorCanvasRadialSpinner : Microsoft.MixedReality.GraphicsTools.CanvasMaterialAnimatorBase
type CanvasMaterialAnimatorCanvasRadialSpinner = class
    inherit CanvasMaterialAnimatorBase
Public Class CanvasMaterialAnimatorCanvasRadialSpinner
Inherits CanvasMaterialAnimatorBase
Inheritance
UnityEngine.MonoBehaviour
CanvasMaterialAnimatorCanvasRadialSpinner

Constructors

CanvasMaterialAnimatorCanvasRadialSpinner()

Fields

_Blur_Circle_

Shader property.

_Blur_Circle_ID

Shader property ID.

_BlurBackgroundRect

Shader property.

_BlurBackgroundRectID

Shader property ID.

_blurTexture

Shader property.

_blurTextureID

Shader property ID.

_Circle_Color_

Shader property.

_Circle_Color_ID

Shader property ID.

_Circle_Width_

Shader property.

_Circle_Width_ID

Shader property ID.

_ClipRect

Shader property.

_ClipRectID

Shader property ID.

_ClipRectRadii

Shader property.

_ClipRectRadiiID

Shader property ID.

_Cycle_

Shader property.

_Cycle_ID

Shader property ID.

_Cycle_Offset_

Shader property.

_Cycle_Offset_ID

Shader property ID.

_Cycle_Rate_

Shader property.

_Cycle_Rate_ID

Shader property ID.

_DstBlend

Shader property.

_DstBlendID

Shader property ID.

_Fill_1_

Shader property.

_Fill_1_ID

Shader property ID.

_Fill_2_

Shader property.

_Fill_2_ID

Shader property ID.

_Fill_Vary_

Shader property.

_Fill_Vary_ID

Shader property ID.

_Filled_Fraction_

Shader property.

_Filled_Fraction_ID

Shader property ID.

_MainTex

Shader property.

_MainTexID

Shader property ID.

_Period_

Shader property.

_Period_ID

Shader property ID.

_Rate_Vary_

Shader property.

_Rate_Vary_ID

Shader property ID.

_SrcBlend

Shader property.

_SrcBlendID

Shader property ID.

_StencilComparison

Shader property.

_StencilComparisonID

Shader property ID.

_StencilOperation

Shader property.

_StencilOperationID

Shader property ID.

_StencilReference

Shader property.

_StencilReferenceID

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