|
CustomRenderableNode(ActionRenderingContext, CustomRenderableNode, Object, Bounds, Object, Material) Constructor |
Constructor that takes custom Action as parameter. The action is called to provide custom rendering logic.
Namespace: Ab3d.DirectXAssembly: Ab3d.DXEngine (in Ab3d.DXEngine.dll) Version: 7.0.8865.1045
Syntax public CustomRenderableNode(
Action<RenderingContext, CustomRenderableNode, Object> renderAction,
Bounds bounds,
Object originalObject = null,
Material material = null
)
Parameters
- renderAction ActionRenderingContext, CustomRenderableNode, Object
- Action takes RenderingContext and object and is called when this object needs to be rendered
- bounds Bounds
- Bounding box of the 3D object (without applied transformation from Transform property)
- originalObject Object (Optional)
- Optional object that is set to the OriginalObject field
- material Material (Optional)
- material that is used to render this CustomRenderableNode (usually EffectMaterial). Can be null.
See Also