Click or drag to resize
AB4D logo

RenderablePrimitiveRenderingQueueReplace Method

Replaces oldRenderablePrimitive object with newRenderablePrimitive (the newRenderablePrimitive preserves the positions of the oldRenderablePrimitive).

Namespace: Ab3d.DirectX
Assembly: Ab3d.DXEngine (in Ab3d.DXEngine.dll) Version: 7.0.8865.1045
Syntax
C#
public override bool Replace(
	RenderablePrimitiveBase oldRenderable,
	RenderablePrimitiveBase newRenderable
)

Parameters

oldRenderable  RenderablePrimitiveBase
renderable object that will be replaced
newRenderable  RenderablePrimitiveBase
renderable object that will replace the oldRenderablePrimitive

Return Value

Boolean
true if object was removed or false if object was not found
See Also