AddGroundRing
Overloads
| Name | Description |
|---|---|
| AddGroundRing(Vector3D anchor) | 지정한 지점의 바닥 위치에 기본 옵션으로 지면 투영 링을 추가합니다. |
| AddGroundRing(Vector3D anchor, GroundRingOptions options) | 지정한 지점의 바닥 위치에 옵션을 적용한 지면 투영 링을 추가합니다. |
AddGroundRing(Vector3D anchor)
public UInt32 AddGroundRing(Vector3D anchor)
지정한 지점의 바닥 위치에 기본 옵션으로 지면 투영 링을 추가합니다.
Parameters
| Name | Type | Description |
|---|---|---|
| anchor | Vector3D | 기준점 좌표 |
Returns
| Type | Description |
|---|---|
| uint | 고리 식별자 (실패 시 0) |
Examples
// VIZCore3DX.NET Control
private VIZCore3DX.NET.VIZCore3DXControl vizcore3dx;
private void Example()
{
VIZCore3DX.NET.Data.BoundBox3D box = vizcore3dx.Model.BoundBox;
uint id = vizcore3dx.View.Effect.AddGroundRing(
new VIZCore3DX.NET.Data.Vector3D(box.CenterX, box.CenterY, box.MaxZ));
}
AddGroundRing(Vector3D anchor, GroundRingOptions options)
public UInt32 AddGroundRing(Vector3D anchor, GroundRingOptions options)
지정한 지점의 바닥 위치에 옵션을 적용한 지면 투영 링을 추가합니다.
Remarks
고리를 놓을 높이를 지정하지 않으면 바닥 격자와 같은 높이에 놓입니다.
고리는 픽킹에 참여하지 않아, 고리 위를 클릭하면 뒤에 있는 개체가 선택됩니다.
모델이 닫히면 등록된 고리도 함께 제거됩니다.
고리는 최대 256개까지 등록되며, 상한을 넘긴 호출은 0을 반환합니다.
Parameters
| Name | Type | Description |
|---|---|---|
| anchor | Vector3D | 기준점 좌표 |
| options | GroundRingOptions | 고리 표시 옵션 (null 이면 기본값) |
Returns
| Type | Description |
|---|---|
| uint | 고리 식별자 (실패 시 0) |
Examples
// VIZCore3DX.NET Control
private VIZCore3DX.NET.VIZCore3DXControl vizcore3dx;
private void Example()
{
VIZCore3DX.NET.Data.BoundBox3D box = vizcore3dx.Model.BoundBox;
VIZCore3DX.NET.Data.GroundRingOptions options = new VIZCore3DX.NET.Data.GroundRingOptions();
options.RadiusMm = 3000.0f;
options.RippleCount = 3;
options.Group = "PTW_TARGET";
uint id = vizcore3dx.View.Effect.AddGroundRing(
new VIZCore3DX.NET.Data.Vector3D(box.CenterX, box.CenterY, box.MaxZ), options);
}