Struct MeshDefinition
Mesh definition
Fields
id Mesh: the mesh from which we get the definition
externalId Ident: External ID used for API integrations.
vertices Point3List: vertices coordinates
normals Vector3List: vertices normals
tangents Vector4List: vertices tangents
uvChannels IntList: UV channels
uvs Point2ListList: array of vertices uv coordinates (one array per channel)
vertexColors ColorAlphaList: vertex colors
curvatures CurvaturesList: vertices curvatures
triangles IntList: triangles (vertex indices)
quadrangles IntList: quadrangles (vertex indices)
vertexMerged IntList: array which contains for each vertex in vertices the vertex that it is merged with
submeshes SubmeshList: array which contain information about multi materials mesh
linesVertices Point3List: lines vertices coordinates
lines StylizedLineList: lines vertices indices
points Point3List: points
pointsColors Vector3List: points colors
joints JointList: joints (bones) identifiers
inverseBindMatrices Matrix4List: joints inverse bind matrices (bones poses)
jointWeights Vector4List: joints (bones) weights
jointIndices Vector4IList: joints (bones) indices
Functions accepting this type or a list of this type as a parameter:
Namespace: Polygonal
Syntax