Update
Overloads
| Name | Description |
|---|---|
| Update(int id, Vertex3D center, Vector3D dir, Vector3D upDir, float height, float fontSize, Color color, string text) | Draw Text 변경 |
| Update(int id, Vertex3D center) | Draw Text 위치 변경 |
| Update(int id, Vector3D dir, Vector3D upDir) | Draw Text 방향 변경 |
| Update(int id, float height) | Draw Text 크기 변경 |
| Update(int id, Color color) | Draw Text 색상 변경 |
| Update(int id, string text) | Draw Text 텍스트 변경 |
Update(int id, Vertex3D center, Vector3D dir, Vector3D upDir, float height, float fontSize, Color color, string text)
public void Update(int id, Vertex3D center, Vector3D dir, Vector3D upDir, float height, float fontSize, Color color, string text)
Draw Text 변경
Parameters
| Name | Type | Description |
|---|---|---|
| id | int | Update Item ID |
| center | Vertex3D | Text Center |
| dir | Vector3D | Text Direction : 텍스트가 작성되는 방향. Camera가 Z+ 인 경우, 텍스트는 X+ 방향으로 작성 (1, 0, 0) |
| upDir | Vector3D | Text Up Direction : 텍스트의 위쪽 방향. Camera가 Z+ 인 경우, 위쪽 방향은 Y+ 임 (0, 1, 0) |
| height | float | Text Height |
| fontSize | float | Font Size : 34 ~ 250 |
| color | Color | Text Color |
| text | string | Text |
Update(int id, Vertex3D center)
public void Update(int id, Vertex3D center)
Draw Text 위치 변경
Parameters
| Name | Type | Description |
|---|---|---|
| id | int | Update Item ID |
| center | Vertex3D | Text Center |
Update(int id, Vector3D dir, Vector3D upDir)
public void Update(int id, Vector3D dir, Vector3D upDir)
Draw Text 방향 변경
Parameters
| Name | Type | Description |
|---|---|---|
| id | int | Update Item ID |
| dir | Vector3D | Text Direction : 텍스트가 작성되는 방향. Camera가 Z+ 인 경우, 텍스트는 X+ 방향으로 작성 (1, 0, 0) |
| upDir | Vector3D | Text Up Direction : 텍스트의 위쪽 방향. Camera가 Z+ 인 경우, 위쪽 방향은 Y+ 임 (0, 1, 0) |
Update(int id, float height)
public void Update(int id, float height)
Draw Text 크기 변경
Parameters
| Name | Type | Description |
|---|---|---|
| id | int | Update Item ID |
| height | float | height |
Update(int id, Color color)
public void Update(int id, Color color)
Draw Text 색상 변경
Parameters
| Name | Type | Description |
|---|---|---|
| id | int | Update Item ID |
| color | Color | Text Color |
Update(int id, string text)
public void Update(int id, string text)
Draw Text 텍스트 변경
Parameters
| Name | Type | Description |
|---|---|---|
| id | int | Update Item ID |
| text | string | Text |