Struct VertexInfluence
Up to four joint influences of one vertex. Weights are normalized when the skinned mesh is created.
Implements
Inherited Members
Namespace: Simple3D.Core
Assembly: Simple3D.Core.dll
Syntax
public readonly record struct VertexInfluence : IEquatable<VertexInfluence>
Constructors
| Edit this page View SourceVertexInfluence(Int4, Vector4)
Up to four joint influences of one vertex. Weights are normalized when the skinned mesh is created.
Declaration
public VertexInfluence(Int4 Joints, Vector4 Weights)
Parameters
| Type | Name | Description |
|---|---|---|
| Int4 | Joints | Joint indices, packed as X, Y, Z and W. |
| Vector4 | Weights | Nonnegative weights matching |
Properties
| Edit this page View SourceJoints
Joint indices, packed as X, Y, Z and W.
Declaration
public Int4 Joints { get; init; }
Property Value
| Type | Description |
|---|---|
| Int4 |
Weights
Nonnegative weights matching Joints.
Declaration
public Vector4 Weights { get; init; }
Property Value
| Type | Description |
|---|---|
| Vector4 |