MeshExt ClassMesh extensions.

Inheritance Hierarchy

System.Object
  UltimateXR.Extensions.Unity.Render.MeshExt
Namespace: UltimateXR.Extensions.Unity.Render
Assembly: UltimateXR (in UltimateXR.dll) Version: 0.0.0.0

Syntax

C#

public static class MeshExt


The MeshExt type exposes the following members.

Methods

NameDescription
Public methodStatic memberCreateQuad Creates a quad mesh Mesh.
Public methodStatic memberCreateSpline Creates a Mesh tessellating a UxrSpline
Public methodStatic memberExtractSubMesh Creates a new mesh from a skinned mesh renderer based on a reference bone and an extract operation.
Public methodStatic memberGetBoneInfluenceBounds Computes the bounding box that contains all the vertices that a bone has influence on in a skinned mesh. The bounding box is computed in local bone space.
Public methodStatic memberGetBoneInfluenceVertexCount Computes the number of vertices that a bone influences in a skinned mesh.
Public methodStatic memberGetSkinnedWorldVertex Gets a skinned vertex in world coordinates.
Public methodStatic memberHasBoneInfluence(BoneWeight, Int32, Single) Checks whether a given bone index has influence on a skinned mesh vertex.
Public methodStatic memberHasBoneInfluence(SkinnedMeshRenderer, Transform, Single) Computes the number of vertices that a bone influences in a skinned mesh.

See Also

Reference

UltimateXR.Extensions.Unity.Render Namespace