MCPcopy Index your code
hub / github.com/g3n/engine / SetPositionVec

Method SetPositionVec

core/node.go:488–492  ·  view source on GitHub ↗

SetPositionVec sets the position based on the specified vector pointer.

(vpos *math32.Vector3)

Source from the content-addressed store, hash-verified

486
487// SetPositionVec sets the position based on the specified vector pointer.
488func (n *Node) SetPositionVec(vpos *math32.Vector3) {
489
490 n.position = *vpos
491 n.matNeedsUpdate = true
492}
493
494// SetPositionX sets the X coordinate of the position.
495func (n *Node) SetPositionX(x float32) {

Callers 6

RotateMethod · 0.80
ZoomMethod · 0.80
PanMethod · 0.80
NewPositionChannelFunction · 0.80
newNodeMethod · 0.80
IntegrateMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected