Class MorphTargetBuilderTMaterialTvGTvSTvM
Contents
[
Hide
]MorphTargetBuilder<TMaterial,TvG,TvS,TvM> class
Represents the vertex deltas of a specific morph target. UseMorphTarget
public sealed class MorphTargetBuilder<TMaterial, TvG, TvS, TvM> : IMorphTargetBuilder
where TvG : struct, IVertexGeometry
where TvS : struct, IVertexSkinning
where TvM : struct, IVertexMaterial
Parameter | Description |
---|---|
TMaterial | The material type used by the base mesh. |
TvG | The vertex geometry type used by the base mesh. |
TvS | The vertex skinning type used by the base mesh. |
TvM | The vertex material type used by the base mesh. |
Properties
Name | Description |
---|---|
Positions { get; } | |
Vertices { get; } |
Methods
Name | Description |
---|---|
GetVertices(Vector3) | Gets a collection of vertices sharing this vertex position. |
SetVertex(TvG, TvG) | |
SetVertex(TvG, VertexBuilder<TvG, TvM, VertexEmpty>) | |
SetVertexDelta(TvG, VertexGeometryDelta) | |
SetVertexDelta(Vector3, VertexGeometryDelta) | |
SetVertexDelta(TvG, VertexGeometryDelta, VertexMaterialDelta) | |
SetVertexDelta(Vector3, VertexGeometryDelta, VertexMaterialDelta) |
Remarks
Morph targets are stored separately on each PrimitiveBuilder
, so connecting vertices between two primitives might be duplicated. This means that when we set a displaced vertex, we must be sure we do so for all instances we can find.
See Also
- interface IMorphTargetBuilder
- interface IVertexGeometry
- interface IVertexSkinning
- interface IVertexMaterial
- namespace Aspose.CAD.FileFormats.GLB.Geometry
- assembly Aspose.CAD