Struct WeightedTransform | Animation Rigging | 0.3.4-preview
docs.unity3d.com
    Show / Hide Table of Contents

    Struct WeightedTransform

    Namespace: UnityEngine.Animations.Rigging
    Syntax
    [Serializable]
    public struct WeightedTransform : ITransformProvider, IWeightProvider, IEquatable<WeightedTransform>

    Constructors

    WeightedTransform(Transform, Single)

    Declaration
    public WeightedTransform(Transform transform, float weight)
    Parameters
    Type Name Description
    Transform transform
    Single weight

    Fields

    transform

    Declaration
    public Transform transform
    Field Value
    Type Description
    Transform

    weight

    Declaration
    public float weight
    Field Value
    Type Description
    Single

    Methods

    Default(Single)

    Declaration
    public static WeightedTransform Default(float weight)
    Parameters
    Type Name Description
    Single weight
    Returns
    Type Description
    WeightedTransform

    Equals(WeightedTransform)

    Declaration
    public bool Equals(WeightedTransform other)
    Parameters
    Type Name Description
    WeightedTransform other
    Returns
    Type Description
    Boolean

    Explicit Interface Implementations

    ITransformProvider.transform

    Declaration
    Transform ITransformProvider.transform { get; set; }
    Returns
    Type Description
    Transform
    Implements
    ITransformProvider.transform

    IWeightProvider.weight

    Declaration
    float IWeightProvider.weight { get; set; }
    Returns
    Type Description
    Single
    Implements
    IWeightProvider.weight
    Back to top
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023