Bearbeiten

Freigeben über


AnimatorParameter Struct

Definition

A copy of the AnimatorControllerParameter because that class is not Serializable and cannot be modified in the editor.

public value class AnimatorParameter
[System.Serializable]
public struct AnimatorParameter
[<System.Serializable>]
type AnimatorParameter = struct
Public Structure AnimatorParameter
Inheritance
AnimatorParameter
Attributes

Constructors

AnimatorParameter(String, AnimatorControllerParameterType, Int32, Single, Boolean)

Constructor.

Properties

DefaultBool

If the animation parameter type is a bool, value to set. Ignored otherwise.

DefaultFloat

If the animation parameter type is a float, value to set. Ignored otherwise.

DefaultInt

If the animation parameter type is an int, value to set. Ignored otherwise.

Name

Name of the animation parameter to modify.

NameHash

Animator Name String to Hash.

ParameterType

Type of the animation parameter to modify.

Applies to