AR_Engine_SDK
载入中...
搜索中...
未找到
函数 | 变量
FxProperty.lua 文件参考

#include <FxProperty.h>

类 FxProperty 继承关系图:
Inheritance graph

函数

function FxProperty GetType () end
 
function FxProperty GetName () end
 
function FxProperty SetValue (b) end
 
function FxProperty SetValue (n) end
 
function FxProperty SetValue (f) end
 
function FxProperty SetValue (vec2) end
 
function FxProperty SetValue (vec3) end
 
function FxProperty SetValue (vec4) end
 
function FxProperty SetValue (color) end
 
function FxProperty SetValue (str) end
 
function FxProperty CopyValueFrom (property) end
 
function FxProperty SetValue (enumTable) end
 
function FxProperty GetBool () end
 
function FxProperty GetInt () end
 
function FxProperty GetFloat () end
 
function FxProperty GetVector2 () end
 
function FxProperty GetVector3 () end
 
function FxProperty GetVector4 () end
 
function FxProperty GetColorBase () end
 
function FxProperty GetString () end
 
function FxProperty GetEnumPointer () end
 

变量

 FxEnumTable = {}
 
FxEnumTable m_nValue = 0
 @type number
 
FxEnumTable m_Table = {}
 @type xhashtable_xint32_and_XString
 
 FxProperty = {}
 
FxProperty FPT_INVALID = 0
 
FxProperty FPT_BOOL = 0
 
FxProperty FPT_INT32 = 0
 
FxProperty FPT_FLOAT = 0
 
FxProperty FPT_VECTOR2 = 0
 
FxProperty FPT_VECTOR3 = 0
 
FxProperty FPT_VECTOR4 = 0
 
FxProperty FPT_COLORVALUE = 0
 
FxProperty FPT_PATH = 0
 
FxProperty FPT_STRING = 0
 
FxProperty FPT_ENUMTABLE = 0
 
FxProperty FPT_DISTRIBUTIONFLOAT = 0
 
FxProperty FPT_DISTRIBUTIONVECTOR = 0
 
FxProperty FPT_DISTRIBUTIONCOLOR = 0
 
FxProperty FPT_INTINTFLOATARRAY = 0
 
FxProperty FPT_DISTRIBUTIONVECTOR4 = 0
 

函数说明

◆ CopyValueFrom()

function FxProperty CopyValueFrom ( property  )

从另一个属性对象拷贝信息

参数
propertyFxProperty 要拷贝的属性对象
返回
boolean 是否拷贝成功

◆ GetBool()

function FxProperty GetBool ( )

FxProperty_GetBool00

返回
boolean

◆ GetColorBase()

function FxProperty GetColorBase ( )

FxProperty_GetColorBase00

返回
XCOLORBASE

◆ GetEnumPointer()

function FxProperty GetEnumPointer ( )

FxProperty_GetEnumPointer00

返回
FxEnumTable

◆ GetFloat()

function FxProperty GetFloat ( )

FxProperty_GetFloat00

返回
number

◆ GetInt()

function FxProperty GetInt ( )

FxProperty_GetInt00

返回
number

◆ GetName()

function FxProperty GetName ( )

获取属性名称

返回
string 属性名称

◆ GetString()

function FxProperty GetString ( )

FxProperty_GetString00

返回
string

◆ GetType()

function FxProperty GetType ( )

获取属性类型

返回
number 属性类型

◆ GetVector2()

function FxProperty GetVector2 ( )

FxProperty_GetVector200

返回
XVECTOR2

◆ GetVector3()

function FxProperty GetVector3 ( )

FxProperty_GetVector300

返回
XVECTOR3

◆ GetVector4()

function FxProperty GetVector4 ( )

FxProperty_GetVector400

返回
XVECTOR4

◆ SetValue() [1/9]

function FxProperty SetValue ( )

设置bool类型属性

参数
bboolean bool类型属性值
返回
void

◆ SetValue() [2/9]

function FxProperty SetValue ( color  )

设置XCOLORBASE类型属性

参数
colorXCOLORBASE XCOLORBASE类型属性值
返回
void

◆ SetValue() [3/9]

function FxProperty SetValue ( enumTable  )

FxProperty_SetValue08

参数
enumTableFxEnumTable
返回
void

◆ SetValue() [4/9]

function FxProperty SetValue ( )

设置xfloat32类型属性

参数
fnumber xfloat32类型属性值
返回
void

◆ SetValue() [5/9]

function FxProperty SetValue ( )

设置xint32类型属性

参数
nnumber xint32类型属性值
返回
void

◆ SetValue() [6/9]

function FxProperty SetValue ( str  )

设置XString类型属性

参数
strstring XString类型属性值
返回
void

◆ SetValue() [7/9]

function FxProperty SetValue ( vec2  )

设置XVECTOR2类型属性

参数
vec2XVECTOR2 XVECTOR2类型属性值
返回
void

◆ SetValue() [8/9]

function FxProperty SetValue ( vec3  )

设置XVECTOR3类型属性

参数
vec3XVECTOR3 XVECTOR3类型属性值
返回
void

◆ SetValue() [9/9]

function FxProperty SetValue ( vec4  )

设置XVECTOR4类型属性

参数
vec4XVECTOR4 XVECTOR4类型属性值
返回
void

变量说明

◆ FPT_BOOL

FxProperty FPT_BOOL = 0

◆ FPT_COLORVALUE

FxProperty FPT_COLORVALUE = 0

◆ FPT_DISTRIBUTIONCOLOR

FxProperty FPT_DISTRIBUTIONCOLOR = 0

◆ FPT_DISTRIBUTIONFLOAT

FxProperty FPT_DISTRIBUTIONFLOAT = 0

◆ FPT_DISTRIBUTIONVECTOR

FxProperty FPT_DISTRIBUTIONVECTOR = 0

◆ FPT_DISTRIBUTIONVECTOR4

FxProperty FPT_DISTRIBUTIONVECTOR4 = 0

◆ FPT_ENUMTABLE

FxProperty FPT_ENUMTABLE = 0

◆ FPT_FLOAT

FxProperty FPT_FLOAT = 0

◆ FPT_INT32

FxProperty FPT_INT32 = 0

◆ FPT_INTINTFLOATARRAY

FxProperty FPT_INTINTFLOATARRAY = 0

◆ FPT_INVALID

FxProperty FPT_INVALID = 0

◆ FPT_PATH

FxProperty FPT_PATH = 0

◆ FPT_STRING

FxProperty FPT_STRING = 0

◆ FPT_VECTOR2

FxProperty FPT_VECTOR2 = 0

◆ FPT_VECTOR3

FxProperty FPT_VECTOR3 = 0

◆ FPT_VECTOR4

FxProperty FPT_VECTOR4 = 0

◆ FxEnumTable

◆ FxProperty

FxProperty = {}

◆ m_nValue

FxEnumTable m_nValue = 0

@type number

◆ m_Table

FxEnumTable m_Table = {}

@type xhashtable_xint32_and_XString