Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Player

addressAddress

Usage

useArguments

/gameEngine/player/rotationInput

set rotation input

int (0,1,2)Sets rotationInput enum

[0] int where 0=STANDARD , 1=WARPER, 2=GYROSC}

/gameEngine/player/rotationMode

Sets rotationMode enum

[0] int where 0=IGLOO_360, 1=IGLOO_NON_360, 2=GAME}

/gameEngine/player/movementInputset movement Unity (Standard)

Sets movementInput enum

[0] int where 0=STANDARD, 1=GYROSC}

/gameEngine/movementModeset movement Mode flyingplayer/movementMode

Sets movementMode enum

[0] int where 0=WALKING , 1=FLYING, 2=FLYING_GHOST}

/gameEngine/player/walkSpeed

Sets m_WalkSpeed

[0] float speed

/gameEngine/player/runSpeed

Sets m_RunSpeed

[0] float speed

/gameEngine/player/smoothTime

Sets m_smoothTime i.e smoothing of cursor movement

[0] float amount , lower value means more smoothing

/ximu/euler

Three float parameters with gyro data Euler rotation

[0] - float pitch , [1] - float roll , [2] - float heading

/gyrosc/player/gyro

Rotation message send from GyrOSC app

Camera

addressAddress

Usage

useArguments

/gameEngine/camera/FOVset FOV wideverticalFOV

Equirectangular vertical FOV

[0] float degrees (1-180)

/gameEngine/camera/3Dinvertset 3D inverthorizontalFOV

Equirectangular horizontal FOV

[0] float degrees (1-360)

/gameEngine/cameraTilting

set camera tilting On/Off

[0] bool state

/gameEngine/camera/nearClipDistance

set camera near clipping distance

[0] float distance in Unity units

/gameEngine/camera/farClipDistance

set camera far clipping distance

[0] float distance in Unity units

/gameEngine/camera/setDisplaysEnabled

Sets the enabled state for all display cameras

[0] bool state

System

Address

addressUsage

useArguments

/unity/quitquit Unity

Closes application

none

/unitygameEngine/sleep

set sleep On/Off

/gameEngine/getSourceInfogetInfo

Returns game information to message sender /gameEngine/info where

[0] string version

none