Toolkit.EvaluateTriangles
Contents
[
Hide
]EvaluateTriangles(this Scene, RuntimeOptions, Animation, float)
Yields a collection of triangles representing the geometry in world space.
public static IEnumerable<(IVertexBuilder A, IVertexBuilder B, IVertexBuilder C, Material Material)>
EvaluateTriangles(this Scene scene, RuntimeOptions options = null, Animation animation = null,
float time = 0)
Parameter | Type | Description |
---|---|---|
scene | Scene | A Scene instance. |
options | RuntimeOptions | Evaluation options. |
animation | Animation | An Animation instance, or null. |
time | Single | The animation time. |
Return Value
A collection of triangles in world space.
See Also
- interface IVertexBuilder
- class Material
- class Scene
- class RuntimeOptions
- class Animation
- class Toolkit
- namespace Aspose.CAD.FileFormats.GLB.ToolKit
- assembly Aspose.CAD
EvaluateTriangles<TvG,TvM>(this Scene, RuntimeOptions, Animation, float)
Yields a collection of triangles representing the geometry in world space.
public static IEnumerable<EvaluatedTriangle<TvG, TvM, VertexEmpty>> EvaluateTriangles<TvG, TvM>(
this Scene scene, RuntimeOptions options = null, Animation animation = null, float time = 0)
where TvG : struct, IVertexGeometry
where TvM : struct, IVertexMaterial
Parameter | Description |
---|---|
TvG | The vertex fragment type with Position, Normal and Tangent. |
TvM | The vertex fragment type with Colors and Texture Coordinates. |
scene | A Scene instance. |
options | Evaluation options. |
animation | An Animation instance, or null. |
time | The animation time. |
Return Value
A collection of triangles in world space.
See Also
- struct EvaluatedTriangle<TvG,TvM,TvS>
- struct VertexEmpty
- class Scene
- class RuntimeOptions
- class Animation
- interface IVertexGeometry
- interface IVertexMaterial
- class Toolkit
- namespace Aspose.CAD.FileFormats.GLB.ToolKit
- assembly Aspose.CAD
EvaluateTriangles(this Mesh, IGeometryTransform)
public static IEnumerable<(IVertexBuilder A, IVertexBuilder B, IVertexBuilder C, Material Material)>
EvaluateTriangles(this Mesh mesh, IGeometryTransform xform = null)
See Also
- interface IVertexBuilder
- class Material
- class Mesh
- interface IGeometryTransform
- class Toolkit
- namespace Aspose.CAD.FileFormats.GLB.ToolKit
- assembly Aspose.CAD
EvaluateTriangles(this MeshPrimitive, IGeometryTransform)
public static IEnumerable<(IVertexBuilder A, IVertexBuilder B, IVertexBuilder C, Material Material)>
EvaluateTriangles(this MeshPrimitive prim, IGeometryTransform xform = null)
See Also
- interface IVertexBuilder
- class Material
- class MeshPrimitive
- interface IGeometryTransform
- class Toolkit
- namespace Aspose.CAD.FileFormats.GLB.ToolKit
- assembly Aspose.CAD
EvaluateTriangles<TvG,TvM,TvS>(this Mesh, IGeometryTransform)
public static IEnumerable<EvaluatedTriangle<TvG, TvM, TvS>> EvaluateTriangles<TvG, TvM, TvS>(
this Mesh mesh, IGeometryTransform xform = null)
where TvG : struct, IVertexGeometry
where TvM : struct, IVertexMaterial
where TvS : struct, IVertexSkinning
See Also
- struct EvaluatedTriangle<TvG,TvM,TvS>
- class Mesh
- interface IGeometryTransform
- interface IVertexGeometry
- interface IVertexMaterial
- interface IVertexSkinning
- class Toolkit
- namespace Aspose.CAD.FileFormats.GLB.ToolKit
- assembly Aspose.CAD