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

Function NewNode

core/node.go:70–75  ·  view source on GitHub ↗

NewNode returns a pointer to a new Node.

()

Source from the content-addressed store, hash-verified

68
69// NewNode returns a pointer to a new Node.
70func NewNode() *Node {
71
72 n := new(Node)
73 n.Init(n)
74 return n
75}
76
77// Init initializes the node.
78// Normally called by other types which embed a Node.

Callers 6

NewSceneMethod · 0.92
newNodeMethod · 0.92
LoadSceneMethod · 0.92
LoadNodeMethod · 0.92
LoadMeshMethod · 0.92
NewGroupMethod · 0.92

Calls 1

InitMethod · 0.45

Tested by

no test coverage detected