Click or drag to resize
Reader3dsGetOptimizedMeshGeometry3D Method
Returns OptimizedMeshGeometry3D struct for the specified model name. OptimizedMeshGeometry3D contains Normals, Positions, TextureCoordinates and TriangleIndices lists that can be used to get quick access to mesh data (access to data is much faster than when using MeshGeometry3D).

Namespace: Ab3d
Assembly: Ab3d.Reader3ds (in Ab3d.Reader3ds.dll) Version: 9.0.5590.1040
Syntax
C#
public OptimizedMeshGeometry3D GetOptimizedMeshGeometry3D(
	string modelName
)

Parameters

modelName
Type: SystemString
name of the object (use DumpNamedObjects method to get names of all read models or use names from NamedObjects)

Return Value

Type: OptimizedMeshGeometry3D
OptimizedMeshGeometry3D contains Normals, Positions, TextureCoordinates and TriangleIndices lists that can be used to get quick access to mesh data
Exceptions
ExceptionCondition
Exceptionwhen the model with the modelName is not found and exceptin is thrown.
Remarks

GetOptimizedMeshGeometry3D returns OptimizedMeshGeometry3D struct for the specified model name.

OptimizedMeshGeometry3D contains Normals, Positions, TextureCoordinates and TriangleIndices lists that can be used to get quick access to mesh data (access to data is much faster than when using MeshGeometry3D).

See Also