Click or drag to resize
AB4D logo

ReaderObjReadModel3D(String, String, Material) Method

Reads the 3D models from objFileName file and returns the 3d models as Model3DGroup or GeomentryModel3D.

Namespace: Ab3d
Assembly: Ab3d.PowerToys (in Ab3d.PowerToys.dll) Version: 11.1.8864.1045
Syntax
C#
public Model3D ReadModel3D(
	string objFileName,
	string texturesDirectory,
	Material defaultMaterial
)

Parameters

objFileName  String
obj file name
texturesDirectory  String
textures directory
defaultMaterial  Material
material that is used if no material is defined in obj file

Return Value

Model3D
Model3DGroup or GeomentryModel3D
See Also