M3D / M3D / Animation / GroupItem
Class: GroupItem
Memberof
M3D.Animation
Description
组的成员
Author
YF
Export
Table of contents
Constructors
Properties
Methods
Constructors
constructor
• new GroupItem(): GroupItem
Returns
• new GroupItem(pGroup, strPlcPath, strSaPath, localPos, localQuat, localScale, offsetPos, offsetQuat, offsetScale, strItemName): GroupItem
Parameters
| Name | Type |
|---|---|
pGroup | Group |
strPlcPath | string |
strSaPath | string |
localPos | AniPoint |
localQuat | AniQuat |
localScale | AniPoint |
offsetPos | AniPoint |
offsetQuat | AniQuat |
offsetScale | AniPoint |
strItemName | string |
Returns
Properties
localPos
• localPos: AniPoint
localQuat
• localQuat: AniQuat
localScale
• localScale: AniPoint
offsetGroupPos
• offsetGroupPos: AniPoint
offsetGroupQuat
• offsetGroupQuat: AniQuat
offsetGroupScale
• offsetGroupScale: AniPoint
Methods
getName
▸ getName(): string
Returns
string
getPlcPath
▸ getPlcPath(): string
Returns
string
getSaPath
▸ getSaPath(): string
Returns
string
isChild
▸ isChild(strItemPath): boolean
Parameters
| Name | Type |
|---|---|
strItemPath | string |
Returns
boolean
▸ isChild(pItem): boolean
Parameters
| Name | Type |
|---|---|
pItem | GroupItem |
Returns
boolean
isParent
▸ isParent(strItemPath): boolean
Parameters
| Name | Type |
|---|---|
strItemPath | string |
Returns
boolean
setName
▸ setName(strName): void
Parameters
| Name | Type |
|---|---|
strName | string |
Returns
void
setPlcPath
▸ setPlcPath(strPlcPath): void
Parameters
| Name | Type |
|---|---|
strPlcPath | string |
Returns
void
setSaPath
▸ setSaPath(strSaPath): void
Parameters
| Name | Type |
|---|---|
strSaPath | string |
Returns
void
updateItem
▸ updateItem(localPos, localQuat, localScale, offsetPos, offsetQuat, offsetScale): void
Parameters
| Name | Type |
|---|---|
localPos | AniPoint |
localQuat | AniQuat |
localScale | AniPoint |
offsetPos | AniPoint |
offsetQuat | AniQuat |
offsetScale | AniPoint |
Returns
void