AR_Engine_SDK
Functions | Variables
FxProperty.lua File Reference
类 FxProperty 继承关系图:
Inheritance graph

Functions

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 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
 
function FxProperty GetRawDistributionFloat () end
 
function FxProperty GetRawDistributionVector () end
 
function FxProperty GetRawDistributionVector4 () end
 
function FxProperty GetIntFloatArray () end
 

Variables

 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
 

Function Documentation

◆ CopyValueFrom()

function FxProperty CopyValueFrom ( property  )

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

Parameters
propertyFxProperty 要拷贝的属性对象
Returns
boolean 是否拷贝成功

◆ GetBool()

function FxProperty GetBool ( )

FxProperty_GetBool00

Returns
boolean

◆ GetColorBase()

function FxProperty GetColorBase ( )

FxProperty_GetColorBase00

Returns
XCOLORBASE

◆ GetEnumPointer()

function FxProperty GetEnumPointer ( )

FxProperty_GetEnumPointer00

Returns
FxEnumTable

◆ GetFloat()

function FxProperty GetFloat ( )

FxProperty_GetFloat00

Returns
number

◆ GetInt()

function FxProperty GetInt ( )

FxProperty_GetInt00

Returns
number

◆ GetIntFloatArray()

function FxProperty GetIntFloatArray ( )

FxProperty_GetIntFloatArray00

Returns
XIntIntFloatArrayData

◆ GetName()

function FxProperty GetName ( )

获取属性名称

Returns
string 属性名称

◆ GetRawDistributionFloat()

function FxProperty GetRawDistributionFloat ( )

FxProperty_GetRawDistributionFloat00

Returns
XRawDistributionFloat

◆ GetRawDistributionVector()

function FxProperty GetRawDistributionVector ( )

FxProperty_GetRawDistributionVector00

Returns
XRawDistributionVector

◆ GetRawDistributionVector4()

function FxProperty GetRawDistributionVector4 ( )

FxProperty_GetRawDistributionVector400

Returns
XRawDistributionVector4

◆ GetString()

function FxProperty GetString ( )

FxProperty_GetString00

Returns
string

◆ GetType()

function FxProperty GetType ( )

获取属性类型

Returns
number 属性类型

◆ GetVector2()

function FxProperty GetVector2 ( )

FxProperty_GetVector200

Returns
XVECTOR2

◆ GetVector3()

function FxProperty GetVector3 ( )

FxProperty_GetVector300

Returns
XVECTOR3

◆ GetVector4()

function FxProperty GetVector4 ( )

FxProperty_GetVector400

Returns
XVECTOR4

◆ SetValue() [1/8]

function FxProperty SetValue ( )

设置bool类型属性

Parameters
bboolean bool类型属性值
Returns
void

◆ SetValue() [2/8]

function FxProperty SetValue ( )

设置xint32类型属性

Parameters
nnumber xint32类型属性值
Returns
void

◆ SetValue() [3/8]

function FxProperty SetValue ( )

设置xfloat32类型属性

Parameters
fnumber xfloat32类型属性值
Returns
void

◆ SetValue() [4/8]

function FxProperty SetValue ( vec2  )

设置XVECTOR2类型属性

Parameters
vec2XVECTOR2 XVECTOR2类型属性值
Returns
void

◆ SetValue() [5/8]

function FxProperty SetValue ( vec3  )

设置XVECTOR3类型属性

Parameters
vec3XVECTOR3 XVECTOR3类型属性值
Returns
void

◆ SetValue() [6/8]

function FxProperty SetValue ( vec4  )

设置XVECTOR4类型属性

Parameters
vec4XVECTOR4 XVECTOR4类型属性值
Returns
void

◆ SetValue() [7/8]

function FxProperty SetValue ( color  )

设置XCOLORBASE类型属性

Parameters
colorXCOLORBASE XCOLORBASE类型属性值
Returns
void

◆ SetValue() [8/8]

function FxProperty SetValue ( str  )

设置XString类型属性

Parameters
strstring XString类型属性值
Returns
void

Variable Documentation

◆ 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

◆ FxProperty

FxProperty = {}