|
AR_Engine_SDK
|
Functions | |
| function XEVariant | new () end |
| function XEVariant | new (type) end |
| function XEVariant | new (value) end |
| function XEVariant | SetFloat (fValue) end |
| function XEVariant | SetFloat2 (fValue1, fValue2) end |
| function XEVariant | SetFloat3 (fValue1, fValue2, fValue3) end |
| function XEVariant | SetFloat4 (fValue1, fValue2, fValue3, fValue4) end |
| function XEVariant | SetColor (fR, fG, fB) end |
| function XEVariant | SetColor (fR, fG, fB, fA) end |
| function XEVariant | SetBool (bValue) end |
| function XEVariant | SetInt (nValue_) end |
| function XEVariant | SetVariantWrapper (vw) end |
| function XEVariant | SetTransform (tf) end |
| function XEVariant | SetString (str) end |
| function XEVariant | SetVECTOR2 (Value) end |
| function XEVariant | SetVECTOR3 (Value) end |
| function XEVariant | SetVECTOR4 (Value) end |
| function XEVariant | SetCOLORGBASE (Value) end |
| function XEVariant | SetUserData (pUserData) end |
| function XEVariant | GetFloat () end |
| function XEVariant | GetFloat2 () end |
| function XEVariant | GetFloat3 () end |
| function XEVariant | GetFloat4 () end |
| function XEVariant | GetFloats () end |
| function XEVariant | GetColor () end |
| function XEVariant | GetColor (fR, fG, fB, fA) end |
| function XEVariant | GetBool () end |
| function XEVariant | GetInt () end |
| function XEVariant | GetUserData () end |
| function XEVariant | GetString () end |
| function XEVariant | GetTransform () end |
| function XEVariant | GetVariantWrapper () end |
| function XEVariant | GetVariantWrapperItemNum () end |
| function XEVariant | GetVariantWrapperItem (nIndex) end |
| function XEVariant | RemoveVariantWrapperItemAt (nIndex) end |
| function XEVariant | AddVariantWrapperItem (data) end |
| function XEVariant | GetVECTOR2 () end |
| function XEVariant | GetVECTOR3 () end |
| function XEVariant | GetVECTOR4 () end |
| function XEVariant | GetCOLORGBASE () end |
| function XEVariant | GetType () end |
| function XEVariant | SetType (type) end |
Variables | |
| XEVariant = {} | |
| XEVariant | XVT_NONE = 0 |
| XEVariant | XVT_FLOAT1 = 0 |
| XEVariant | XVT_FLOAT2 = 0 |
| XEVariant | XVT_FLOAT3 = 0 |
| XEVariant | XVT_FLOAT4 = 0 |
| XEVariant | XVT_COLORRGB = 0 |
| XEVariant | XVT_COLORRGBA = 0 |
| XEVariant | XVT_BOOL = 0 |
| XEVariant | XVT_INT = 0 |
| XEVariant | XVT_STRING = 0 |
| XEVariant | XVT_TRANSFORM = 0 |
| XEVariant | XVT_VARIANT_WRAPPER = 0 |
| XEVariant | XVT_USER_DATA = 0 |
| XEVariant | XVT_NUM = 0 |
| function XEVariant AddVariantWrapperItem | ( | data | ) |
| function XEVariant GetBool | ( | ) |
获取xbool数据
| function XEVariant GetColor | ( | ) |
获取RGB颜色数据
| function XEVariant GetColor | ( | fR | , |
| fG | , | ||
| fB | , | ||
| fA | |||
| ) |
获取RGBA颜色数据
| fR | number xfloat32数据(R) |
| fG | number xfloat32数据(G) |
| fB | number xfloat32数据(B) |
| fA | number xfloat32数据(A) |
| function XEVariant GetCOLORGBASE | ( | ) |
获取XCOLORBASE数据
| function XEVariant GetFloat | ( | ) |
获取1个xfloat32数据
| function XEVariant GetFloat2 | ( | ) |
获取2个xfloat32数据
| function XEVariant GetFloat3 | ( | ) |
获取3个xfloat32数据
| function XEVariant GetFloat4 | ( | ) |
获取4个xfloat32数据
| function XEVariant GetFloats | ( | ) |
获取指定xfloat32数据, 不判定数据是否有效
| function XEVariant GetInt | ( | ) |
获取xint32数据
| function XEVariant GetString | ( | ) |
获取XString数据
| function XEVariant GetTransform | ( | ) |
获取XETransform数据
| function XEVariant GetType | ( | ) |
获取当前数据类型
| function XEVariant GetUserData | ( | ) |
获取用户自定义数据
| function XEVariant GetVariantWrapper | ( | ) |
获取XArray<XEVariant>数据
| function XEVariant GetVariantWrapperItem | ( | nIndex | ) |
| function XEVariant GetVariantWrapperItemNum | ( | ) |
获取XVT_VARIANT_WRAPPER数据条目个数
| function XEVariant GetVECTOR2 | ( | ) |
获取XVECTOR2数据
| function XEVariant GetVECTOR3 | ( | ) |
获取XVECTOR3数据
| function XEVariant GetVECTOR4 | ( | ) |
获取XVECTOR4数据
| function XEVariant RemoveVariantWrapperItemAt | ( | nIndex | ) |
删除XVT_VARIANT_WRAPPER某个条目
| nIndex | number nIndex条目索引 |
| function XEVariant SetBool | ( | bValue | ) |
设置xbool数据
| bValue | boolean xbool数据 |
| function XEVariant SetColor | ( | fR | , |
| fG | , | ||
| fB | |||
| ) |
设置RGB颜色数据
| fR | number R(xfloat32) |
| fG | number G(xfloat32) |
| fB | number B(xfloat32) |
| function XEVariant SetColor | ( | fR | , |
| fG | , | ||
| fB | , | ||
| fA | |||
| ) |
设置RGBA颜色数据
| fR | number R(xfloat32) |
| fG | number G(xfloat32) |
| fB | number B(xfloat32) |
| fA | number A(xfloat32) |
| function XEVariant SetCOLORGBASE | ( | Value | ) |
| function XEVariant SetFloat | ( | fValue | ) |
设置1个xfloat32数据
| fValue | number xfloat32数据 |
| function XEVariant SetFloat2 | ( | fValue1 | , |
| fValue2 | |||
| ) |
设置2个xfloat32数据
| fValue1 | number xfloat32数据1 |
| fValue2 | number xfloat32数据2 |
| function XEVariant SetFloat3 | ( | fValue1 | , |
| fValue2 | , | ||
| fValue3 | |||
| ) |
设置3个xfloat32数据
| fValue1 | number xfloat32数据1 |
| fValue2 | number xfloat32数据2 |
| fValue3 | number xfloat32数据3 |
| function XEVariant SetFloat4 | ( | fValue1 | , |
| fValue2 | , | ||
| fValue3 | , | ||
| fValue4 | |||
| ) |
设置4个xfloat32数据
| fValue1 | number xfloat32数据1 |
| fValue2 | number xfloat32数据2 |
| fValue3 | number xfloat32数据3 |
| fValue4 | number xfloat32数据4 |
| function XEVariant SetInt | ( | nValue_ | ) |
设置xint32数据
| nValue_ | number xint32数据 |
| function XEVariant SetString | ( | str | ) |
设置XString数据
| str | string XString数据 |
| function XEVariant SetTransform | ( | tf | ) |
| function XEVariant SetUserData | ( | pUserData | ) |
设置用户自定义数据(XVT_USER_DATA)
| pUserData | userdata void数据 |
| function XEVariant SetVariantWrapper | ( | vw | ) |
| function XEVariant SetVECTOR2 | ( | Value | ) |
设置XVECTOR2数据(XVT_FLOAT2)
| Value | XVECTOR2 XVECTOR2数据 |
| function XEVariant SetVECTOR3 | ( | Value | ) |
设置XVECTOR3数据(XVT_FLOAT3)
| Value | XVECTOR3 XVECTOR3数据 |
| function XEVariant SetVECTOR4 | ( | Value | ) |
设置XVECTOR4数据(XVT_FLOAT4)
| Value | XVECTOR4 XVECTOR4数据 |
| XEVariant = {} |
| XEVariant XVT_BOOL = 0 |
| XEVariant XVT_COLORRGB = 0 |
| XEVariant XVT_COLORRGBA = 0 |
| XEVariant XVT_FLOAT1 = 0 |
| XEVariant XVT_FLOAT2 = 0 |
| XEVariant XVT_FLOAT3 = 0 |
| XEVariant XVT_FLOAT4 = 0 |
| XEVariant XVT_INT = 0 |
| XEVariant XVT_NONE = 0 |
| XEVariant XVT_NUM = 0 |
| XEVariant XVT_STRING = 0 |
| XEVariant XVT_TRANSFORM = 0 |
| XEVariant XVT_USER_DATA = 0 |
| XEVariant XVT_VARIANT_WRAPPER = 0 |
1.8.15