Click or drag to resize
Ab4d.SharpEngine logo

ObjFileToSceneNodesConverter Methods

The ObjFileToSceneNodesConverter type exposes the following members.

Methods
 NameDescription
Protected methodCheckTextureFileName CheckTextureFileName checks the texture file name and if file does not exist or is not in supported file format tries to find another file that can be used instead. Returns the file name that can be used to create a texture. If no file can be found, null is returned. The method can be overridden.
Public methodConvert(ObjFileData) Converts the ObjFileData into a GroupNode.
Public methodConvert(ObjMaterial) Converts ObjMaterial into a StandardMaterial.
Public methodConvert(ObjMesh, ObjFileData) Converts one ObjMeshData from ObjFileData into a SceneNode (MeshModelNode or GroupNode when more objects are converted)
Protected methodCreateTexture CreateGpuTexture method creates a GpuTexture from texture file name and sets that to the specified standardMaterial.
Top
See Also