Click or drag to resize
Ab4d.SharpEngine logo

RenderingItemCreateFromPool Method

Create method get the RenderingItem from the ObjectPool in Scene and returns the created object. The method also initialize all the fields to default values and sets the ParentSceneNode, WorldBoundingBox and Flags (IsHidden flag is set if ).

Namespace: Ab4d.SharpEngine.Core
Assembly: Ab4d.SharpEngine (in Ab4d.SharpEngine.dll) Version: 2.0.8956+4c7684e186ca1be74e7a284fbe739d9a1b843d3c
Syntax
C#
public static RenderingItem CreateFromPool(
	SceneNode parentSceneNode,
	Scene? scene = null
)

Parameters

parentSceneNode  SceneNode
SceneNode
scene  Scene  (Optional)
optional Scene object (can be used when getting RenderingItem before the parentSceneNode is initialized

Return Value

RenderingItem
RenderingItem
See Also