본문으로 건너뛰기

SetBoxPlaneSize

Overloads​

NameDescription
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​

NameTypeDescription
iduint단면상자 아이디(ID)
subIdint단면 Plane 아이디(ID) : 단면상자(0 ~ 5)
positionVector3Dposition

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​

NameTypeDescription
iduint단면상자 아이디(ID)
subIdint단면 Plane 아이디(ID) : 단면상자(0 ~ 5)
offsetfloat면의 법선 방향 오프셋 값

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 /* 오프셋 */
);
}