日本語翻訳ドキュメントはサポートを終了しました

MRTK 2.6 以降のドキュメントについては、公式の Microsoft ドキュメント を参照してください。

    Show / Hide Table of Contents

    Struct AnimatorParameter

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

    Inherited Members
    ValueType.Equals(Object)
    ValueType.GetHashCode()
    ValueType.ToString()
    Object.Equals(Object, Object)
    Object.ReferenceEquals(Object, Object)
    Object.GetType()
    Namespace: Microsoft.MixedReality.Toolkit.Utilities
    Assembly: cs.temp.dll.dll
    Syntax
    [Serializable]
    public struct AnimatorParameter

    Constructors

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

    Constructor.

    Declaration
    public AnimatorParameter(string name, AnimatorControllerParameterType parameterType, int defaultInt = 0, float defaultFloat = 0F, bool defaultBool = false)
    Parameters
    Type Name Description
    String name

    Name of the animation parameter to modify.

    AnimatorControllerParameterType parameterType

    Type of the animation parameter to modify.

    Int32 defaultInt

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

    Single defaultFloat

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

    Boolean defaultBool

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

    Properties

    DefaultBool

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

    Declaration
    public bool DefaultBool { get; }
    Property Value
    Type Description
    Boolean

    DefaultFloat

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

    Declaration
    public float DefaultFloat { get; }
    Property Value
    Type Description
    Single

    DefaultInt

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

    Declaration
    public int DefaultInt { get; }
    Property Value
    Type Description
    Int32

    Name

    Name of the animation parameter to modify.

    Declaration
    public string Name { get; }
    Property Value
    Type Description
    String

    NameHash

    Animator Name String to Hash.

    Declaration
    public int NameHash { get; }
    Property Value
    Type Description
    Int32

    ParameterType

    Type of the animation parameter to modify.

    Declaration
    public AnimatorControllerParameterType ParameterType { get; }
    Property Value
    Type Description
    AnimatorControllerParameterType
    Back to top Generated by DocFX