Click or drag to resize
AB4D logo

SortedRenderablePrimitiveRenderingQueueReplace 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 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