SetBoxPlaneSize
Overloads
| Name | Description |
|---|---|
| SetBoxPlaneSize(UInt32 id, int subId, Vector3D position) | Box Plane 사이즈 변경 |
| SetBoxPlaneSize(UInt32 id, int subId, float offset) | Box Plane 사이즈 변경 (Offset) |
SetBoxPlaneSize(UInt32 id, int subId, Vector3D position)
public void SetBoxPlaneSize(UInt32 id, int subId, Vector3D position)
Box Plane 사이즈 변경
Parameters
| Name | Type | Description |
|---|---|---|
| id | uint | 단면상자 아이디(ID) |
| subId | int | 단면 Plane 아이디(ID) : 단면상자(0 ~ 5) |
| position | Vector3D | position |
Examples
// VIZCore3DX.NET Control
private VIZCore3DX.NET.VIZCore3DXControl vizcore3dx;
public void Example()
{
VIZCore3DX.NET.Data.SectionItem section = vizcore3dx.Section.AddBox(false);
vizcore3dx.Section.SetBoxPlaneSize(
section.ID
, 0 /* 단면 Plane 아이디(ID) */
, new VIZCore3DX.NET.Data.Vector3D(0.0f, 0.0f, 0.0f)
);
}
SetBoxPlaneSize(UInt32 id, int subId, float offset)
public void SetBoxPlaneSize(UInt32 id, int subId, float offset)
Box Plane 사이즈 변경 (Offset)
Parameters
| Name | Type | Description |
|---|---|---|
| id | uint | 단면상자 아이디(ID) |
| subId | int | 단면 Plane 아이디(ID) : 단면상자(0 ~ 5) |
| offset | float | 면의 법선 방향 오프셋 값 |
Examples
// VIZCore3DX.NET Control
private VIZCore3DX.NET.VIZCore3DXControl vizcore3dx;
public void Example()
{
VIZCore3DX.NET.Data.SectionItem section = vizcore3dx.Section.AddBox(false);
vizcore3dx.Section.SetBoxPlaneSize(
section.ID
, 0 /* 단면 Plane 아이디(ID) */
, 100.0f /* 오프셋 */
);
}