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 32 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. 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

The focusedChild field TBD currently TBD can only be 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.

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

Data Bindings

None

 

  • No labels