Toolkit.ToStaticMeshBuilder
Contents
[
Hide
]ToStaticMeshBuilder<TMaterial,TvG,TvM>(this Scene, Converter<Material, TMaterial>, RuntimeOptions, Animation, float)
Evaluates the current srcScene at a given animation and time and creates a static MeshBuilder
public static MeshBuilder<TMaterial, TvG, TvM, VertexEmpty>
ToStaticMeshBuilder<TMaterial, TvG, TvM>(this Scene srcScene,
Converter<Material, TMaterial> materialFunc, RuntimeOptions options, Animation animation,
float time)
where TvG : struct, IVertexGeometry
where TvM : struct, IVertexMaterial
Parameter | Description |
---|---|
TMaterial | Any material type |
TvG | A subtype of IVertexGeometry |
TvM | A subtype of IVertexMaterial |
srcScene | The source Scene to evaluate. |
materialFunc | A function to convert Material into TMaterial. |
options | Evaluation options. |
animation | The source Animation to evaluate. |
time | A time point, in seconds, within animation. |
Return Value
A new MeshBuilder
containing the evaluated geometry.
See Also
- class MeshBuilder<TMaterial,TvG,TvM,TvS>
- struct VertexEmpty
- class Scene
- class Material
- class RuntimeOptions
- class Animation
- interface IVertexGeometry
- interface IVertexMaterial
- class Toolkit
- namespace Aspose.CAD.FileFormats.GLB.ToolKit
- assembly Aspose.CAD
ToStaticMeshBuilder<TvG,TvM>(this Scene, RuntimeOptions, Animation, float)
public static MeshBuilder<MaterialBuilder, TvG, TvM, VertexEmpty> ToStaticMeshBuilder<TvG, TvM>(
this Scene srcScene, RuntimeOptions options, Animation animation, float time)
where TvG : struct, IVertexGeometry
where TvM : struct, IVertexMaterial
See Also
- class MeshBuilder<TMaterial,TvG,TvM,TvS>
- class MaterialBuilder
- struct VertexEmpty
- class Scene
- class RuntimeOptions
- class Animation
- interface IVertexGeometry
- interface IVertexMaterial
- class Toolkit
- namespace Aspose.CAD.FileFormats.GLB.ToolKit
- assembly Aspose.CAD