Struct VertexWeight
Represents a single influence of a bone on a vertex.
Implements
Inherited Members
Namespace: SharpAssimp
Assembly: SharpAssimp.dll
Syntax
public record struct VertexWeight : IEquatable<VertexWeight>
Constructors
| Edit this page View SourceVertexWeight(int, float)
Represents a single influence of a bone on a vertex.
Declaration
public VertexWeight(int VertexID, float Weight)
Parameters
Type | Name | Description |
---|---|---|
int | VertexID | Index of the vertex which is influenced by the bone. |
float | Weight | Strength of the influence in range of (0...1). All influences from all bones at one vertex amounts to 1. |
Properties
| Edit this page View SourceVertexID
Index of the vertex which is influenced by the bone.
Declaration
public int VertexID { readonly get; set; }
Property Value
Type | Description |
---|---|
int |
Weight
Strength of the influence in range of (0...1). All influences from all bones at one vertex amounts to 1.
Declaration
public float Weight { readonly get; set; }
Property Value
Type | Description |
---|---|
float |