M3D / M3D / Animation / SetModelPlcMtxCB
Class: SetModelPlcMtxCB
M3D.Animation.SetModelPlcMtxCB
Description
设置模型矩阵的处理
Export
Hierarchy
-
↳
SetModelPlcMtxCB
Table of contents
Constructors
Properties
Methods
- execute
- getEvents
- getId
- getModelBoundingBoxCenter
- onExecute
- onExecuteFun
- registerEvent
- removeEvent
- setActionFun
- setId
Constructors
constructor
• new SetModelPlcMtxCB(): SetModelPlcMtxCB
Returns
Description
构造函数
Inherited from
Properties
functor
• functor: function_buffer
Inherited from
id
• id: number
Inherited from
count
▪ Static
count: number
Inherited from
Methods
execute
▸ execute(): ActionState
Returns
Description
执行Action
Inherited from
getEvents
▸ getEvents(): M3DEvent
[]
Returns
M3DEvent
[]
Description
获得事件列表
Inherited from
getId
▸ getId(): number
Returns
number
Description
获取id
Inherited from
getModelBoundingBoxCenter
▸ getModelBoundingBoxCenter(model
): Vector3
Parameters
Name | Type | Description |
---|---|---|
model | Model | 模型 |
Returns
Description
获取模型包围盒中心点
Memberof
AniCallbackFun
Inherited from
AniCallbackFun.getModelBoundingBoxCenter
onExecute
▸ onExecute(parameter1?
, parameter2?
, parameter3?
, parameter4?
, parameter5?
): ActionState
Parameters
Name | Type | Default value | Description |
---|---|---|---|
parameter1? | any | null | 参数1 |
parameter2? | any | null | 参数2 |
parameter3? | any | null | 参数3 |
parameter4? | any | null | 参数4 |
parameter5? | any | null | 参数5 |
Returns
Description
执行动画动作
Memberof
AniCallbackFun
Inherited from
onExecuteFun
▸ onExecuteFun(plcPath?
, matrix?
, parameter3?
, parameter4?
, parameter5?
): void
Parameters
Name | Type | Default value | Description |
---|---|---|---|
plcPath? | any | null | 装配路径 |
matrix? | any | null | 矩阵信息 |
parameter3? | any | null | |
parameter4? | any | null | |
parameter5? | any | null |
Returns
void
Description
执行处理
Memberof
SetModelPlcMtxCB
Overrides
registerEvent
▸ registerEvent(event
): void
Parameters
Name | Type | Description |
---|---|---|
event | M3DEvent | M3D事件 |
Returns
void
Description
注册事件
Inherited from
removeEvent
▸ removeEvent(): void
Returns
void
Description
删除事件
Inherited from
setActionFun
▸ setActionFun(callback
): void
Parameters
Name | Type |
---|---|
callback | AniCallbackFun |
Returns
void
Inherited from
setId
▸ setId(v
): void
Parameters
Name | Type | Description |
---|---|---|
v | number | ShapeId |
Returns
void
Description
设置id