|
RenderingLayerReplace Method |
Replaces oldRenderingItem object with newRenderingItem (the newRenderingItem preserves the positions of the oldRenderingItem).
Namespace: Ab4d.SharpEngine.RenderingLayersAssembly: Ab4d.SharpEngine (in Ab4d.SharpEngine.dll) Version: 2.0.8956+4c7684e186ca1be74e7a284fbe739d9a1b843d3c
Syntax public bool Replace(
RenderingItem oldRenderingItem,
RenderingItem newRenderingItem,
Effect? effect
)
Parameters
- oldRenderingItem RenderingItem
- RenderingItem object that will be replaced
- newRenderingItem RenderingItem
- RenderingItem object that will replace the oldRenderingItem
- effect Effect
- effect that was used to setup this RenderingItem (this is compared with AllowedEffectType; when null, then no comparison is done)
Return Value
Booleantrue if object was removed or false if object was not found
See Also