ILNumerics Ultimate VS

GroupInsertT Method

ILNumerics Ultimate VS Documentation
ILNumerics - Technical Application Development
Insert a node into the child collection at predefined index

[ILNumerics Visualization Engine]

Namespace:  ILNumerics.Drawing
Assembly:  ILNumerics.Drawing (in ILNumerics.Drawing.dll) Version: ILNumerics Ultimate VS 4
Syntax

public virtual T Insert<T>(
	int index,
	T node,
	Object tag = null
)
where T : Node

Parameters

index
Type: SystemInt32
index to place the new node at
node
Type: T
node object
tag (Optional)
Type: SystemObject
tag for the newly added node (optional)

Type Parameters

T
node type

Return Value

Type: T
the newly added node
Remarks

If the node given is already used within any scene graph a (shallow, lazy) copy is made and the copy is added to the group instead. Such copies are individually configurable in most scalar properties. However, they (by default) share the buffer sets - i.e. vertices, indices, normals and interpolating colors buffers.

[ILNumerics Visualization Engine]

See Also

Reference