Struct BlendShape
Structure holding all the information required to create blend shapes in Unity
Implements
Inherited Members
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 |
---|---|---|
Usd |
blendShapeIn | |
Usd |
timeCode | |
Graph |
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 |
---|---|
Native |
Offsets
The point offsets
Declaration
[NativeDisableParallelForRestriction]
public NativeArray<float3> Offsets
Field Value
Type | Description |
---|---|
Native |
PointIndexToLocation
The map between the point indexes and their location
Declaration
[NativeDisableContainerSafetyRestriction]
public UnsafeParallelHashMap<int, int> PointIndexToLocation
Field Value
PointIndices
The point indices
Declaration
[NativeDisableParallelForRestriction]
public NativeArray<int> PointIndices
Field Value
Type | Description |
---|---|
Native |
Weights
The weights
Declaration
[NativeDisableContainerSafetyRestriction]
public NativeArray<float> Weights
Field Value
Type | Description |
---|---|
Native |
Methods
Dispose()
See documentation for <IDisposable.Dispose> for more details
Declaration
public void Dispose()