Class OBJAttrib
Represents the attributes of an OBJ file, including vertices, normals, texture coordinates, and other optional data.
Namespace: Evergine.Runtimes.OBJ.DataTypes
Assembly: Evergine.Runtimes.OBJ.dll
Syntax
public class OBJAttrib
Fields
Colors
Gets or sets the list of vertex colors, if present.
Declaration
public List<Vector3> Colors
Field Value
| Type | Description |
|---|---|
| List<Vector3> |
Normals
Gets or sets the list of vertex normals ('vn').
Declaration
public List<Vector3> Normals
Field Value
| Type | Description |
|---|---|
| List<Vector3> |
SkinWeights
Gets or sets the list of skin weights for vertices, used for skeletal animation.
Declaration
public List<OBJSkinWeight> SkinWeights
Field Value
| Type | Description |
|---|---|
| List<OBJSkinWeight> |
TexcoordWs
Gets or sets the list of texture coordinate weights ('vt' w, if present; otherwise unused).
Declaration
public List<float> TexcoordWs
Field Value
| Type | Description |
|---|---|
| List<float> |
Texcoords
Gets or sets the list of texture coordinates ('vt' (u, v)).
Declaration
public List<Vector2> Texcoords
Field Value
| Type | Description |
|---|---|
| List<Vector2> |
VertexWeights
Gets or sets the list of vertex weights ('v' w).
Declaration
public List<float> VertexWeights
Field Value
| Type | Description |
|---|---|
| List<float> |
Vertices
Gets or sets the list of vertex positions ('v' xyz).
Declaration
public List<Vector3> Vertices
Field Value
| Type | Description |
|---|---|
| List<Vector3> |