docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Struct BlendShape

    Structure holding all the information required to create blend shapes in Unity

    Implements
    IDisposable
    Inherited Members
    ValueType.Equals(object)
    ValueType.GetHashCode()
    ValueType.ToString()
    object.Equals(object, object)
    object.GetType()
    object.ReferenceEquals(object, object)
    Namespace: Unity.Importer.USD
    Assembly: Unity.Importer.USD.dll
    Syntax
    public struct BlendShape : IDisposable

    Constructors

    BlendShape(UsdSkelBlendShape, UsdTimeCode, GraphLogger)

    Constructs a BlendShape data structure from Usd data

    Declaration
    public BlendShape(UsdSkelBlendShape blendShapeIn, UsdTimeCode timeCode, GraphLogger GraphLogger = null)
    Parameters
    Type Name Description
    UsdSkelBlendShape blendShapeIn
    UsdTimeCode timeCode
    GraphLogger GraphLogger

    Fields

    FrameSize

    The number of elements that the structure hold

    Declaration
    public readonly int FrameSize
    Field Value
    Type Description
    int

    NormalOffsets

    The normal offsets

    Declaration
    [NativeDisableParallelForRestriction]
    public NativeArray<float3> NormalOffsets
    Field Value
    Type Description
    NativeArray<float3>

    Offsets

    The point offsets

    Declaration
    [NativeDisableParallelForRestriction]
    public NativeArray<float3> Offsets
    Field Value
    Type Description
    NativeArray<float3>

    PointIndexToLocation

    The map between the point indexes and their location

    Declaration
    [NativeDisableContainerSafetyRestriction]
    public UnsafeParallelHashMap<int, int> PointIndexToLocation
    Field Value
    Type Description
    UnsafeParallelHashMap<int, int>

    PointIndices

    The point indices

    Declaration
    [NativeDisableParallelForRestriction]
    public NativeArray<int> PointIndices
    Field Value
    Type Description
    NativeArray<int>

    Weights

    The weights

    Declaration
    [NativeDisableContainerSafetyRestriction]
    public NativeArray<float> Weights
    Field Value
    Type Description
    NativeArray<float>

    Methods

    Dispose()

    See documentation for <IDisposable.Dispose> for more details

    Declaration
    public void Dispose()

    Implements

    IDisposable
    In This Article
    Back to top
    Copyright © 2024 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)