Vex Reference


Agent

atomsagentgetmetadata (int agentId , string metadataName , float defaultVal ) -> float

atomsagentgetmetadata (int agentId , string metadataName , int defaultVal ) -> int

atomsagentgetmetadata (int agentId , string metadataName , vector defaultVal ) -> vector

atomsagentgetmetadata (int agentId , string metadataName , vector4 defaultVal ) -> vector4

atomsagentgetmetadata (int agentId , string metadataName , matrix defaultVal ) -> matrix

atomsagentgetmetadata (int agentId , string metadataName , string defaultVal ) -> string

atomsagentgetmetadata (int agentId , string metadataName , vector minVal , vector maxVal )

atomsagentsetmetadata (int agentId , string metadataName , float value )

atomsagentsetmetadata (int agentId , string metadataName , int value )

atomsagentsetmetadata (int agentId , string metadataName , vector value )

atomsagentsetmetadata (int agentId , string metadataName , vector4 value )

atomsagentsetmetadata (int agentId , string metadataName , matrix value )

atomsagentsetmetadata (int agentId , string metadataName , string value )

atomsagentsetmetadata (int agentId , string metadataName , vector value , vector valueMax )

atomsagenthasmetadata (int agentId , string metadataName ) -> int

atomsagentmetadatatype (int agentId , string metadataName ) -> string

atomsagentmetadatatype (int agentId , string metadataName ) -> int

atomsagentcomputepose (int agentId , float simtime )

atomsagentreset (int agentId )

atomsagentcomputeboundingbox (int agentId )

atomsagentcomputemeshboundingbox (int agentId )

atomsagentgetboundingbox (int agentId , vector & valueMin , vector & valueMax )

atomsagentsetboundingbox (int agentId , vector valueMin , vector valueMax )

atomsagentsetagenttype (int agentId , string agentType )

atomsagentgetbuildposenode (int agentId ) -> string

atomsagentsetbuildposetnode (int agentId , string operatorName )

atomsagentaddprebuildposenode (int agentId , string operatorName )

atomsagentaddpostbuildposenode (int agentId , string operatorName )

atomsagentcreatenode (int agentId , string operatorType , string operatorName ) -> string

atomsagentrenamenode (int agentId , string operatorType , string operatorName )

atomsagentdeletenode (int agentId , string operatorType )

atomsagentconnectnodeports (int agentId , string sop , string sattr , string dop , string dattr )

atomsagentdisconnectnodeports (int agentId , string sop , string sattr , string dop , string dattr )

atomsagentgetnodenames (int agentId ) -> string[]

atomsagenthasnode (int agentId , string sop ) -> int

atomsagentsetagentnode (int agentId , string nodeName )

atomsagentnodetype (int agentId , string nodeName ) -> int

atomsagentnodetype (int agentId , string nodeName ) -> string

atomsagentnodeinputs (int agentId , string nodeName ) -> string[]

atomsagentnodeoutputs (int agentId , string nodeName ) -> string[]

atomsagentsetnodeportvalue (int agentId , string nodeName , string portName , int value )

atomsagentsetnodeportvalue (int agentId , string nodeName , string portName , string value )

atomsagentsetnodeportvalue (int agentId , string nodeName , string portName , float value )

atomsagentsetnodeportvalue (int agentId , string nodeName , string portName , vector value )

atomsagentsetnodeportvalue (int agentId , string nodeName , string portName , matrix value )

atomsagentsetnodeportvalue (int agentId , string nodeName , string portName , vector4 value )

atomsagentgetnodeportvalue (int agentId , string nodeName , string portName ) -> int

atomsagentgetnodeportvalue (int agentId , string nodeName , string portName ) -> string

atomsagentgetnodeportvalue (int agentId , string nodeName , string portName ) -> float

atomsagentgetnodeportvalue (int agentId , string nodeName , string portName ) -> vector

atomsagentgetnodeportvalue (int agentId , string nodeName , string portName ) -> matrix

atomsagentgetnodeportvalue (int agentId , string nodeName , string portName ) -> vector4

atomsagentnodeportisinput (int agentId , string nodeName , string portName ) -> int

atomsagentnodeportisoutput (int agentId , string nodeName , string portName ) -> int

atomsagentnodeportisconnected (int agentId , string nodeName , string portName ) -> int

atomsagentgetnodeportsourceport (string nodeName , string portName , string & inNodeName , string & inPortName ) -> int

atomsagentgetnodeportdestinationport (int agentId , string nodeName , string portName , int connId , string & inNodeName , string & inPortName )

atomsagentgetnodeportnumconnections (int agentId , string nodeName , string portName ) -> int

atomsagentgetposemetadata (int agentId , string metadataName , float defaultVal ) -> float

atomsagentgetposemetadata (int agentId , string metadataName , int defaultVal ) -> int

atomsagentgetposemetadata (int agentId , string metadataName , vector defaultVal ) -> vector

atomsagentgetposemetadata (int agentId , string metadataName , vector4 defaultVal ) -> vector4

atomsagentgetposemetadata (int agentId , string metadataName , matrix defaultVal ) -> matrix

atomsagentgetposemetadata (int agentId , string metadataName , string defaultVal ) -> string

atomsagentsetposemetadata (int agentId , string metadataName , float defaultVal )

atomsagentsetposemetadata (int agentId , string metadataName , int defaultVal )

atomsagentsetposemetadata (int agentId , string metadataName , vector defaultVal )

atomsagentsetposemetadata (int agentId , string metadataName , vector4 defaultVal )

atomsagentsetposemetadata (int agentId , string metadataName , matrix value )

atomsagentsetposemetadata (int agentId , string metadataName , string defaultVal )

atomsagentsetposeboolmetadata (int agentId , string metadataName , int defaultVal )

atomsagentgetjointposemetadata (int agentId , int jointId , string metadataName , float defaultVal ) -> float

atomsagentgetjointposemetadata (int agentId , int jointId , string metadataName , int defaultVal ) -> int

atomsagentgetjointposemetadata (int agentId , int jointId , string metadataName , vector defaultVal ) -> vector

atomsagentgetjointposemetadata (int agentId , int jointId , string metadataName , vector4 defaultVal ) -> vector4

atomsagentgetjointposemetadata (int agentId , int jointId , string metadataName , matrix defaultVal ) -> matrix

atomsagentgetjointposemetadata (int agentId , int jointId , string metadataName , string defaultVal ) -> string

atomsagentsetjointposemetadata (int agentId , int jointId , string metadataName , float defaultVal )

atomsagentsetjointposemetadata (int agentId , int jointId , string metadataName , int defaultVal )

atomsagentsetjointposemetadata (int agentId , int jointId , string metadataName , vector defaultVal )

atomsagentsetjointposemetadata (int agentId , int jointId , string metadataName , vector4 defaultVal )

atomsagentsetjointposemetadata (int agentId , int jointId , string metadataName , matrix value )

atomsagentsetjointposemetadata (int agentId , int jointId , string metadataName , string defaultVal )

atomsagentsetjointposeboolmetadata (int agentId , int jointId , string metadataName , int defaultVal )

atomsagentgetjointfromrigidbody (int agentId , int rbId ) -> int


Agent Pool

atomsagentpoolgetagentids ( ) -> int[]

atomsagentpoolgetnumagents ( ) -> int

atomsagentpoolcreateagents (int numAgents ) -> int[]

atomsagentpooldeleteagents (int [] result )

atomsagentpooldeleteagent (int i )


Agent Type

atomsagenttypegetnumjoints (string agentTypeName ) -> int

atomsagenttypesetnumjoints (string agentTypeName , int numJoints )

atomsagenttypejointhasmetadata (string agentTypeName , int jointId , string metaName ) -> int

atomsagenttypegetjointmetadata (string agentTypeName , int jointId , string metaName , float defaultVal ) -> float

atomsagenttypegetjointmetadata (string agentTypeName , int jointId , string metaName , int defaultVal ) -> int

atomsagenttypegetjointmetadata (string agentTypeName , int jointId , string metaName , vector defaultVal ) -> vector

atomsagenttypegetjointmetadata (string agentTypeName , int jointId , string metaName , matrix defaultVal ) -> matrix

atomsagenttypegetjointmetadata (string agentTypeName , int jointId , string metaName , string defaultVal ) -> string

atomsagenttypegetjointmetadata (string agentTypeName , int jointId , string metaName , vector4 defaultVal ) -> vector4

atomsagenttypesetjointmetadata (string agentTypeName , int jointId , string metaName , float defaultVal )

atomsagenttypesetjointmetadata (string agentTypeName , int jointId , string metaName , int defaultVal )

atomsagenttypesetjointmetadata (string agentTypeName , int jointId , string metaName , vector defaultVal )

atomsagenttypesetjointmetadata (string agentTypeName , int jointId , string metaName , matrix value )

atomsagenttypesetjointmetadata (string agentTypeName , int jointId , string metaName , string value )

atomsagenttypesetjointmetadata (string agentTypeName , int jointId , string metaName , vector4 defaultVal )

atomsagenttypecreatejointmetadata (string agentTypeName , int jointId , string metadataName , float value ) -> string

atomsagenttypecreatejointmetadata (string agentTypeName , int jointId , string metadataName , int value ) -> string

atomsagenttypecreatejointmetadata (string agentTypeName , int jointId , string metadataName , vector value ) -> string

atomsagenttypecreatejointmetadata (string agentTypeName , int jointId , string metadataName , matrix value ) -> string

atomsagenttypecreatejointmetadata (string agentTypeName , int jointId , string metadataName , string value ) -> string

atomsagenttypecreatejointmetadata (string agentTypeName , int jointId , string metadataName , vector4 value ) -> string

atomsagenttypecreatejointboolmetadata (string agentTypeName , int jointId , string metadataName , int value ) -> string

atomsagenttypecreatejointeulermetadata (string agentTypeName , int jointId , string metadataName , vector value ) -> string

atomsagenttypecreatejointvector2metadata (string agentTypeName , int jointId , string metadataName , vector value ) -> string

atomsagenttypecreatejointvector4metadata (string agentTypeName , int jointId , string metadataName , vector4 value ) -> string

atomsagenttypeclearjointmetadata (string agentTypeName , int jointId )

atomsagenttypeclearjointsmetadata (string agentTypeName )

atomsagenttypegetnumdetachedjoints (string agentTypeName ) -> int

atomsagenttypegetdetachedjoint (string agentTypeName , int id ) -> int

atomsagenttypegetnumpelvischains (string agentTypeName , int id ) -> int

atomsagenttypegetpelvischainparent (string agentTypeName , int id , int tip ) -> int

atomsagenttypegetpelvischainchild (string agentTypeName , int id , int tip ) -> int

atomsagenttypegetpelvischainjoints (string agentTypeName , int id , int tip ) -> int[]

atomsagenttypejointispelvis (string agentTypeName , int id ) -> int

atomsagenttypegetpelvis (string agentTypeName , int id ) -> int

atomsagenttypeaddpelvis (string agentTypeName , int id )

atomsagenttypeclearpelvises (string agentTypeName )

atomsagenttypegetnumpelvises (string agentTypeName ) -> int

atomsagenttypegetlegjoints (string agentTypeName , int id ) -> int[]

atomsagenttypegetmidjoints (string agentTypeName , int id ) -> int[]

atomsagenttypegetfootpelvis (string agentTypeName , int id ) -> int

atomsagenttypegetfootpolevector (string agentTypeName , int id ) -> vector

atomsagenttypefoothaspelvis (string agentTypeName , int id ) -> int

atomsagenttypeisfoottip (string agentTypeName , int id ) -> int

atomsagenttypegetfoottip (string agentTypeName , int id ) -> int

atomsagenttypeisfootroot (string agentTypeName , int id ) -> int

atomsagenttypegetfootroot (string agentTypeName , int id ) -> int

atomsagenttypeisfootik (string agentTypeName , int id ) -> int

atomsagenttypegetfootik (string agentTypeName , int id ) -> int

atomsagenttypeaddfoot (string agentTypeName , int ik , int root , int tip )

atomsagenttypeclearfeet (string agentTypeName )

atomsagenttypenumfeet (string agentTypeName ) -> int

atomsagenttypesetroot (string agentTypeName , int id )

atomsagenttypegetroot (string agentTypeName ) -> int

atomsagenttypebuildikdata (string agentTypeName )

atomsagenttypebuildjointnamemap (string agentTypeName )

atomsagenttypebuilddetachedjointlist (string agentTypeName )

atomsagenttypegetjointmatrix (string agentTypeName , int id ) -> matrix

atomsagenttypegetjointtranslation (string agentTypeName , int id ) -> vector

atomsagenttypegetjointrotation (string agentTypeName , int id ) -> vector4

atomsagenttypegetjointscale (string agentTypeName , int id ) -> vector

atomsagenttypegetjointparent (string agentTypeName , int id ) -> int

atomsagenttypesetjointmatrix (string agentTypeName , int id , matrix value )

atomsagenttypesetjointtranslation (string agentTypeName , int id , vector value )

atomsagenttypesetjointrotation (string agentTypeName , int id , vector4 value )

atomsagenttypesetjointscale (string agentTypeName , int id , matrix value )

atomsagenttypesetjointparent (string agentTypeName , int id , int value )

atomsagenttypegetjointnumchildren (string agentTypeName , int id ) -> int

atomsagenttypegetjointchild (string agentTypeName , int id , int childId ) -> int

atomsagenttypegetjointname (string agentTypeName , int id ) -> string

atomsagenttypegetjointid (string agentTypeName , string jointName ) -> int

atomsagenttypesgetnum ( ) -> int

atomsagenttypesgetname (int index ) -> string

atomsagenttypesgetnames ( ) -> string[]

atomsagenttypesexist (string name ) -> int


Agent Group

atomsagentgroupsetmatrix (string agentGroupName , matrix result )

atomsagentgroupgetmatrix (string agentGroupName ) -> matrix

atomsagentgroupaddagent (string agentGroupName , string agentType , vector position , vector direction , vector up , vector scale )

atomsagentgroupaddagent (string agentGroupName , string agentType , vector position , vector direction , vector up , vector scale , int groupId )

atomsagentgroupkillagents (string agentGroupName , int [] agentIds )

atomsagentgroupkillagent (string agentGroupName , int agentId )

atomsagentgroupfilteragent (string agentGroupName , int agentId )

atomsagentgroupgetparent (string agentGroupName ) -> string

atomsagentgroupsetparent (string agentGroupName , string parentagentGroupName )

atomsagentgroupgetagentscreated (string agentGroupName ) -> int[]

atomsagentgroupgetagentskilled (string agentGroupName ) -> int[]

atomsagentgroupgetagents (string agentGroupName ) -> int[]

atomsagentgroupgetlocalagents (string agentGroupName ) -> int[]

atomsagentgroupgetlocalagent (string agentGroupName , int agentId ) -> int

atomsagentgrouphasagent (string agentGroupName , int agentId ) -> int

atomsagentgrouphaslocalagent (string agentGroupName , int agentId ) -> int

atomsagentgroupgetmetadata (string agentGroupName , string metadataName , float defaultVal ) -> float

atomsagentgroupgetmetadata (string agentGroupName , string metadataName , int defaultVal ) -> int

atomsagentgroupgetmetadata (string agentGroupName , string metadataName , vector defaultVal ) -> vector

atomsagentgroupgetmetadata (string agentGroupName , string metadataName , vector4 defaultVal ) -> vector4

atomsagentgroupgetmetadata (string agentGroupName , string metadataName , matrix defaultVal ) -> matrix

atomsagentgroupgetmetadata (string agentGroupName , string metadataName , string defaultVal ) -> string

atomsagentgroupgetmetadata (string agentGroupName , string metadataName , vector minVal , vector maxVal )

atomsagentgroupsetmetadata (string agentGroupName , string metadataName , float value )

atomsagentgroupsetmetadata (string agentGroupName , string metadataName , int value )

atomsagentgroupsetmetadata (string agentGroupName , string metadataName , vector value )

atomsagentgroupsetmetadata (string agentGroupName , string metadataName , vector4 value )

atomsagentgroupsetmetadata (string agentGroupName , string metadataName , matrix value )

atomsagentgroupsetmetadata (string agentGroupName , string metadataName , string value )

atomsagentgroupsetmetadata (string agentGroupName , string metadataName , vector value , vector valueMax )


Variations

atomsvariationsexist (string agentType , string variation ) -> int

atomsvariationsgetnames (string agentType ) -> string[]

atomsvariationsgetnum (string agentType ) -> int

atomsvariationsgetname (string agentType , int index ) -> string


Physx

atomsagentgetrigidbodyfromjoint (int agentId , int jointId ) -> int

atomsagenthasrigidbody (int agentId , int jointId ) -> int

atomsridigbodygetstate (int rbId ) -> int

atomsridigbodysetstate (int rbId , int state )

atomsridigbodyaddforce (int rbId , vector force )

atomsridigbodyaddforce (int rbId , vector force , vector pos )

atomsridigbodyaddimpulse (int rbId , vector force )

atomsridigbodyaddimpulse (int rbId , vector force , vector pos )

atomsridigbodyaddtorque (int rbId , vector force )

atomsridigbodyaddtorqueimpulse (int rbId , vector force )

atomsridigbodyclearforces (int rbId )

atomsridigbodyclearfedbacks (int rbId )

atomsridigbodysetkynematictarget (int rbId , matrix target )

atomsridigbodygetpose (int rbId ) -> matrix

atomsridigbodygetvelocity (int rbId ) -> vector

atomsridigbodygetangularvelocity (int rbId ) -> vector

atomsridigbodygetacceleration (int rbId ) -> vector





Copyright © 2017, Toolchefs LTD.