Click or drag to resize

DisassemblyManagerDisassemble Method

모델 분해

Namespace:  VIZCore3D.NET.Manager
Assembly:  VIZCore3D.NET (in VIZCore3D.NET.dll) Version: 2.8.24.1104 (2.8.24.1104)
Syntax
C#
public void Disassemble()
Examples
C#
private VIZCore3D.NET.VIZCore3DControl vizcore3d;

private void Disassemble()
{
    vizcore3d.Object3D.Disassembly.EnableAnimation = true;
    vizcore3d.Object3D.Disassembly.Distance = 10000;    // 10m
    vizcore3d.Object3D.Disassembly.SideGap = 1000;      // 1m
    vizcore3d.Object3D.Disassembly.Target = VIZCore3D.NET.Manager.DisassemblyManager.TargetKind.ALL;            // All Object
    //vizcore3d.Object3D.Disassembly.Target = VIZCore3D.NET.Manager.DisassemblyManager.TargetKind.SELECTED;     // Selected Object

    vizcore3d.Object3D.Disassembly.Option = VIZCore3D.NET.Manager.DisassemblyManager.DisassemblyOption.AXIS;    // 축 기준 분해
    //vizcore3d.Object3D.Disassembly.Option = VIZCore3D.NET.Manager.DisassemblyManager.DisassemblyOption.LINEAR;// 선형 분해
    //vizcore3d.Object3D.Disassembly.Option = VIZCore3D.NET.Manager.DisassemblyManager.DisassemblyOption.SPHERE;// 구 분해

    // If Option is DisassemblyOption.AXIS
    vizcore3d.Object3D.Disassembly.Axis = VIZCore3D.NET.Manager.DisassemblyManager.AxisKind.X_PLUS;

    vizcore3d.Object3D.Disassembly.Disassemble();
}
See Also