DetectAvatarCollision
Overloads
| Name | Description |
|---|---|
| DetectAvatarCollision() | 아바타와 모델간 충돌 위치 검사 및 표시 |
| DetectAvatarCollision(List<int> index) | 아바타와 모델간 충돌 위치 검사 및 표시 |
| DetectAvatarCollision(List<Node> node) | 아바타와 모델간 충돌 위치 검사 및 표시 |
DetectAvatarCollision()
public bool DetectAvatarCollision()
아바타와 모델간 충돌 위치 검사 및 표시
Returns
| Type | Description |
|---|---|
| bool | 충돌 여부 반환, 충돌시 true |
Examples
// VIZCore3D.NET Control
private VIZCore3D.NET.VIZCore3DControl vizcore3d;
private void Example()
{
if (vizcore3d.View.Navigation != VIZCore3D.NET.Data.NavigationModes.WALK) return;
if (vizcore3d.Walkthrough.Avatar == false) return;
if (vizcore3d.Walkthrough.DetectAvatarCollision() == false) return;
List<VIZCore3D.NET.Data.AvatarCollision> items =
vizcore3d.Walkthrough.GetAvatarCollision();
foreach (VIZCore3D.NET.Data.AvatarCollision item in items)
{
int index = item.NodeIndex;
VIZCore3D.NET.Data.Vertex3D v = item.Position;
}
}
DetectAvatarCollision(List<int> index)
public bool DetectAvatarCollision(List<int> index)
아바타와 모델간 충돌 위치 검사 및 표시
Parameters
| Name | Type | Description |
|---|---|---|
| index | List<int> | 충돌 검사 노드 인덱스 |
Returns
| Type | Description |
|---|---|
| bool | 충돌 여부 반환, 충돌시 true |
DetectAvatarCollision(List<Node> node)
public bool DetectAvatarCollision(List<Node> node)
아바타와 모델간 충돌 위치 검사 및 표시
Parameters
| Name | Type | Description |
|---|---|---|
| node | List<Node> | 충돌 검사 노드 |
Returns
| Type | Description |
|---|---|
| bool | 충돌 여부 반환, 충돌시 true |