StaticGate References

class StaticGate
StaticGate(std::string id, std::string prefab_id)

Constuct Static gate.

Parameters:
  • id (std::string) – unique name

  • prefab_id (std::string) – prefab name in unity

Return type:

StaticGate

~StaticGate()

Deconstuct Static gate.

Return type:

None

setPosition(const Vector<3>& position)

Set the position of the gate.

Parameters:

position (const Vector<3>&) – position of the gate

Return type:

None

setRotation(const Quaternion& quaternion)

Set the orientation of the gate.

Parameters:

quaternion (const Quaternion&) – orientation of the gate

Return type:

None

setSize(const Vector<3>& size)

Set the size of the gate.

Parameters:

size (const Vector<3>&) – size of the gate

Return type:

None

getPos()

Get the position of the gate.

Return type:

Vector<3>

getQuat()

Get the orientation of the gate.

Return type:

Quaternion

getSize()

Get the size of the gate.

Return type:

Vector<3>