Click or drag to resize
AB4D logo

CustomRenderableNode(RenderablePrimitiveBase, Bounds, Object) Constructor

Constructor that takes custom RenderablePrimitiveBase as parameter.

Namespace: Ab3d.DirectX
Assembly: Ab3d.DXEngine (in Ab3d.DXEngine.dll) Version: 7.1.9105.2048 (1.0.0.0)
Syntax
C#
public CustomRenderableNode(
	RenderablePrimitiveBase renderablePrimitive,
	Bounds bounds,
	Object originalObject = null
)

Parameters

renderablePrimitive  RenderablePrimitiveBase
RenderablePrimitiveBase object that is added to the rendering queue and provides logic to render this SceneNode
bounds  Bounds
Bounding box of the 3D object (without applied transformation from Transform property)
originalObject  Object  (Optional)
Optional object that is send as parameter to the renderAction (null by default)
See Also