Members
-
Xebra.CONNECTION_STATES:object
static constant -
Connection States
Properties:
Name Type Description INITnumber The connection hasn't been set up yet, it's still waiting for a call to connect (unless auto_connect is set to true)
CONNECTINGnumber The connection is being established
CONNECTEDnumber The connection is established and alive
CONNECTION_FAILnumber The connection could NEVER be established
RECONNECTINGnumber The connection was lost and attempts to reconnect are made (based on reconnect, reconnect_attempts and reconnect_timeout options)
DISCONNECTEDnumber The connection was lost and all attempts to reconnect failed
-
Xebra.EMPTY_RESOURCE:String
static constant -
Filename for an empty XebraResource
-
Xebra.LIVE_UNIT_STYLES:object
static constant -
Unit Styles of live.* objects.
Properties:
Name Type Description LIVE_UNIT_INTstring Integer Unit Style
LIVE_UNIT_FLOATstring Float Unit Style
LIVE_UNIT_TIMEstring Time Unit Style
LIVE_UNIT_HZstring Hertz Unit Style
LIVE_UNIT_DBstring deciBel Unit Style
LIVE_UNIT_PERCENTstring Percent (%) Unit Style
LIVE_UNIT_PANstring Pan Unit Style
LIVE_UNIT_SEMITONESstring Semitones Unit Stlye
LIVE_UNIT_MIDIstring MIDI Notes Unit Style
LIVE_UNIT_CUSTOMstring Custom Unit Style
LIVE_UNIT_NATIVEstring Native Unit Style
-
Xebra.LIVE_VALUE_TYPES:object
static constant -
Unit Styles of live.* objects.
Properties:
Name Type Description LIVE_UNIT_INTstring Integer Unit Style
-
Xebra.MOTION_TYPES:object
static constant -
Motion Types supported by Xebra. Use these as type identifiers when calling sendMotionData on Xebra.State.
Properties:
Name Type Description ACCELstring Acceleration, minus any acceleration due to gravity
GRAVITYstring Acceleration due to gravity
ORIENTATIONstring Roll, pitch and yaw
RAWACCELstring Raw acceleration, including both user acceleration as well as gravity
ROTATIONRATEstring Raw gyroscope readings: x, y and z rotation rates
-
Xebra.SUPPORTED_OBJECTSArray.<string>
static constant -
List of objects available for synchronization in Xebra. Use this or a subset of this when setting the supported_objects option in Xebra.State.
-
Xebra.VIEW_MODES:object
static constant -
Available View Modes of XebraState.
Properties:
Name Type Description LINKEDnumber Calculate visibility and position using the same view mode as Max
PRESENTATIONnumber Calculate visibility and position always using Presentation Mode
PATCHINGnumber Calculate visibility and position always using Patching Mode
Type Definitions
-
Xebra.ColorArray.<number>
-
Color attribute consisting of 4 Numbers in the format of [r, g, b, a]
-
Xebra.NodeId:number|:string
-
A string or number based id
-
Xebra.ParamValueType:number|:string|Array.<string>|Array.<number>|:object
-
Generic parameter value type
-
Xebra.PatchingRectArray.<number>
-
Patching Rectangle attribute consisting of 4 Numbers (x, y, width, height)