MCPcopy
hub / github.com/g3n/engine / Set

Method Set

gui/manager.go:57–60  ·  view source on GitHub ↗

Set sets the INode to watch for events. It's usually a scene containing a hierarchy of INodes. The manager only cares about IPanels inside that hierarchy.

(scene core.INode)

Source from the content-addressed store, hash-verified

55// It's usually a scene containing a hierarchy of INodes.
56// The manager only cares about IPanels inside that hierarchy.
57func (gm *manager) Set(scene core.INode) {
58
59 gm.scene = scene
60}
61
62// SetModal sets the specified panel and its descendants to be the exclusive receivers of events.
63func (gm *manager) SetModal(ipan IPanel) {

Callers 9

NewRiggedMeshFunction · 0.45
SetSkeletonMethod · 0.45
NewMorphGeometryFunction · 0.45
BoundingBoxMethod · 0.45
RotationalInertiaMethod · 0.45
SetMarginsMethod · 0.45
SetBordersMethod · 0.45
SetPaddingsMethod · 0.45
SetModelMatrixMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected