ILNumerics Ultimate VS

GroupAddT Method (T, Object, Boolean)

ILNumerics Ultimate VS Documentation
ILNumerics - Technical Application Development
Add a node to the end of this groups child collection

[ILNumerics Visualization Engine]

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

public virtual T Add<T>(
	T node,
	Object tag = null,
	bool shareBuffers = true
)
where T : Node

Parameters

node
Type: T
node object
tag (Optional)
Type: SystemObject
tag for the newly added node (optional)
shareBuffers (Optional)
Type: SystemBoolean
[optional] if adding creates a clone, determines, if its buffer are shared. Default: true

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