Class MorphTarget
A blend shape: per-vertex offsets added to bind-pose geometry, scaled by a weight in [0,1].
Inherited Members
Namespace: Simple3D.Core
Assembly: Simple3D.Core.dll
Syntax
public sealed class MorphTarget
Constructors
| Edit this page View SourceMorphTarget(string?, IEnumerable<Vector3>, IEnumerable<Vector3>?)
Copies finite offsets; normal offsets, when present, must match the position count.
Declaration
public MorphTarget(string? name, IEnumerable<Vector3> positionDeltas, IEnumerable<Vector3>? normalDeltas = null)
Parameters
| Type | Name | Description |
|---|---|---|
| string | name | |
| IEnumerable<Vector3> | positionDeltas | |
| IEnumerable<Vector3> | normalDeltas |
Properties
| Edit this page View SourceName
Optional name, for example a VRM expression's target.
Declaration
public string? Name { get; }
Property Value
| Type | Description |
|---|---|
| string |
NormalDeltas
Optional normal offset of every vertex.
Declaration
public IReadOnlyList<Vector3>? NormalDeltas { get; }
Property Value
| Type | Description |
|---|---|
| IReadOnlyList<Vector3> |
PositionDeltas
Position offset of every vertex.
Declaration
public IReadOnlyList<Vector3> PositionDeltas { get; }
Property Value
| Type | Description |
|---|---|
| IReadOnlyList<Vector3> |