Transform
GetEnableHandle
개체 이동/회전 핸들 모드 여부 반환
Example
Returns
Type | Description |
---|---|
boolean | Control 핸들 사용 여부 반환 |
GetObjectTransform
개체 이동/회전 값 반환
Example
Parameters
Name | Type | Description |
---|---|---|
ids |
| Node ID Array |
Returns
Type | Description |
---|---|
| matrix = 개체 이동/ 회전 matrix 값 move = 개체 이동 값 rotate = 개체 회전 값 |
RestoreTransformAll
개체 이동/회전 초기화
Example
RestoreTransformByBodyID
지정한 Body 개체 이동/회전 초기화
Example
Parameters
Name | Type | Description |
---|---|---|
ids |
| Body ID Array |
RestoreTransformByNodeID
지정한 Node 개체 이동/회전 초기화
Example
Parameters
Name | Type | Description |
---|---|---|
ids |
| Node ID Array |
SetEnableHandle
개체 이동/회전 핸들 모드
Example
Parameters
Name | Type | Description |
---|---|---|
enable | Boolean | true : 활성화, false : 비활성화 |
SetTransform
개체 이동/회전
Example
Parameters
Name | Type | Description |
---|---|---|
ids |
| Node ID Array |
move | VIZCore.Vector3 | 이동값 : VIZCore.Vector3() |
rotate | VIZCore.Vector3 | 회전값 : VIZCore.Vector3() |
SetTransformByBodyID
Body ID 기준 개체 이동/회전
Example
Parameters
Name | Type | Description |
---|---|---|
ids | Array | Node Array |
transform | VIZCore.Matrix4 | VIZCore.Matrix4() |
SetTransformByMatrix
Matrix 기준 개체 이동/회전
Example
Parameters
Name | Type | Description |
---|---|---|
ids |
| Node ID Array |
transform | VIZCore.Matrix4 | Matrix4 |
SetTransformByNode
Node 기준 개체 이동/회전
Example
Parameters
Name | Type | Description |
---|---|---|
nodes |
| Node Object Array |
transform | VIZCore.Matrix4 | Matrix4 |
TransformByBodyID
Body ID 기준 개체 이동/회전
Example
Parameters
Name | Type | Description |
---|---|---|
bodyId | Number | Node ID |
move | VIZCore.Vector3 | 이동값 : VIZCore.Vector3() |
rotate | VIZCore.Vector3 | 회전값 : VIZCore.Vector3() |