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: 3.0.9208+3b2441d6a11f923f2600f40f4296bdc3d8b46035
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