Click or drag to resize
AB4D logo

CustomRenderablePrimitive Constructor

Constructor

Namespace: Ab3d.DirectX
Assembly: Ab3d.DXEngine (in Ab3d.DXEngine.dll) Version: 7.0.8865.1045
Syntax
C#
public CustomRenderablePrimitive(
	Action<RenderingContext, Object> renderAction,
	Object originalObject = null
)

Parameters

renderAction  ActionRenderingContext, Object
Action takes RenderingContext and object and is called when this object needs to be rendered
originalObject  Object  (Optional)
Optional object that is send as parameter to the renderAction (null by default)
See Also