XUIRotatingPlatform()

Methods

SetBackgroundColor(strColor)

背景颜色
Parameters:
Name Type Description
strColor String 背景图片路径
Properties:
Name Type Description
BackgroundColor Color ""

SetBackgroundImage(strImagePath)

背景图片
Parameters:
Name Type Description
strImagePath ImageProp 背景图片路径
Properties:
Name Type Description
BackgroundImagePath ImageProp ""

SetBgDrawColor(bDrawColor)

背景以颜色绘制
Parameters:
Name Type Description
bDrawColor Boolean
Properties:
Name Type Description
BgDrawColor Boolean true

SetCameraPosition(fX, fY, fZ)

调整摄像机位置
Parameters:
Name Type Description
fX Float 按X轴位移
fY Float 按Y轴位移
fZ Float 按Z轴位移
Properties:
Name Type Description
CameraPosition Collection [100,10,100]

SetCoordinateSystemVisible(bVisible)

辅助坐标系显示
Parameters:
Name Type Description
bVisible Boolean
Properties:
Name Type Description
CoordinateSystemVisible Boolean true

SetFbxModel(strFbxModelPath)

设置Fbx模型路径
Parameters:
Name Type Description
strFbxModelPath String 模型路径

SetModelPosition(fX, fY, fZ)

调整模型位置
Parameters:
Name Type Description
fX Float 按X轴位移
fY Float 按Y轴位移
fZ Float 按Z轴位移
Properties:
Name Type Description
ModelPosition Collection [0,0,0]

SetModelRotation(fX, fY, fZ)

调整模型旋转角度
Parameters:
Name Type Description
fX Float 按X轴位移
fY Float 按Y轴位移
fZ Float 按Z轴位移
Properties:
Name Type Description
ModelRotation Collection [0,0,0]

SetModelRotationSpeed(nSpeedX, nSpeedY, nSpeedZ)

模型旋转速度
Parameters:
Name Type Description
nSpeedX Number x轴为中心
nSpeedY Number y轴为中心
nSpeedZ Number z轴为中心
Properties:
Name Type Description
ModelRotationSpeed Collection [0,10,0]

SetModelScale(nScaleX, nScaleY, nScaleZ)

模型大小
Parameters:
Name Type Description
nScaleX Number x轴方向
nScaleY Number y轴方向
nScaleZ Number z轴方向
Properties:
Name Type Description
ModelScale Collection [1,1,1]