Click or drag to resize

WalkthroughManagerGetAvatarCollision Method

아바타 충돌 위치 반환

Namespace:  VIZCore3D.NET.Manager
Assembly:  VIZCore3D.NET (in VIZCore3D.NET.dll) Version: 2.8.24.1104 (2.8.24.1104)
Syntax
C#
public List<AvatarCollision> GetAvatarCollision()

Return Value

Type: ListAvatarCollision
충돌 위치
Examples
C#
// 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;
    }
}
See Also