AddEquip
Overloads
AddEquip(string name, Vector3D position, Vector3D rotate, Vector3D size, Color color)
public int AddEquip(string name, Vector3D position, Vector3D rotate, Vector3D size, Color color)
장비 추가 (Box)
Parameters
| Name | Type | Description |
|---|---|---|
| name | string | 장비 이름 |
| position | Vector3D | 위치 |
| rotate | Vector3D | 회전 |
| size | Vector3D | 크기 |
| color | Color | 색상 |
Returns
| Type | Description |
|---|---|
| int | ID |
AddEquip(string fileName, string name, Vector3D position, Vector3D rotate, Vector3D size, Color color, bool fitCenter, float scale)
public int AddEquip(string fileName, string name, Vector3D position, Vector3D rotate, Vector3D size, Color color, bool fitCenter, float scale)
장비 추가 (viz파일)
Parameters
| Name | Type | Description |
|---|---|---|
| fileName | string | 모델파일 경로 |
| name | string | 장비 이름 |
| position | Vector3D | 위치 |
| rotate | Vector3D | 회전 |
| size | Vector3D | 크기 |
| color | Color | 색상 |
| fitCenter | bool | 모델 가운데정렬 |
| scale | float | 크기 |
Returns
| Type | Description |
|---|---|
| int | ID |