Click or drag to resize
AB4D logo

RenderingQueueReplace 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.1.9105.2048 (1.0.0.0)
Syntax
C#
public virtual bool Replace(
	RenderablePrimitiveBase oldRenderablePrimitive,
	RenderablePrimitiveBase newRenderablePrimitive
)

Parameters

oldRenderablePrimitive  RenderablePrimitiveBase
renderable object that will be replaced
newRenderablePrimitive  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