Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 16 Next »


Description

The base class of all nodes. Node objects do not draw anything and are skipped in the render traversal of the scene graph. Node provides the core parenting and key focus management functionality used by all nodes.

Fields

FieldTypeDefaultUse
idstring""Adds a dictionary entry that allows this node to be retrieved with ifSGDictionary FindNode function
focusedChildN/AN/A

The focusedChild field currently can only used in calls to observeField and unobserveField. In those cases the value of the field is irrelevant.

When a node or one of its children gains or loses the keyboard focus, the focusedChild field will be set and call its observer functions. In the observer function, typically, you use ifSGNodeFocus functions to query whether this node or some other node has the key focus or is in the key focus chain.

Accessing the value of the field will result in script errors.

Theme Attributes

None

Data Bindings

None

 

  • No labels