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 41 Next »

Beta Documentation

The contents of this page are subject to change

Description

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

Fields

FieldTypeDefaultUse
idstring""Adds a dictionary entry that allows the node to be retrieved with ifSGDictionary findNode() function
focusedChildN/AN/A

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.

focusableBooleanfalseProvides a hint as to whether or not this node can take the key focus
  • No labels