Click or drag to resize
AB4D logo

MeshObjectNode(MeshBase, Material, String) Constructor

Initializes a new instance of the MeshObjectNode class.

Namespace: Ab3d.DirectX
Assembly: Ab3d.DXEngine (in Ab3d.DXEngine.dll) Version: 7.0.8865.1045
Syntax
C#
public MeshObjectNode(
	MeshBase mesh,
	Material[] materials,
	string name = null
)

Parameters

mesh  MeshBase
MeshBase object that defines the 3D object geometry
materials  Material
material used by this ObjectNode
name  String  (Optional)
optional name of the SceneNode
Exceptions
ExceptionCondition
ArgumentNullExceptionmesh;mesh is null.
See Also