Click or drag to resize

XRayManagerEnable Property

Enable XRay Mode. Xray 모드가 종료(Enable = false)되는 경우, 자동으로 Clear 함수가 호출 됨.

Namespace:  VIZCore3D.NET.Manager
Assembly:  VIZCore3D.NET (in VIZCore3D.NET.dll) Version: 2.8.24.1104 (2.8.24.1104)
Syntax
C#
public bool Enable { get; set; }

Property Value

Type: Boolean
Examples
C#
private VIZCore3D.NET.VIZCore3DControl vizcore3d;

private void Search()
{
    List<string> keyword = new List<string>();
    keyword.Add("PIPE_01_*");
    keyword.Add("PIPE_02_*");
    keyword.Add("PIPE_03_*");
    keyword.Add("PIPE_04_*");

    List<VIZCore3D.NET.Data.Node> items =
        vizcore3d.Object3D.Find.QuickSearch(
            keyword
            , false /* Join Condition : True - And, False - Or */
            , true  /* True : Assembly Only, False : Assembly + Part */
            , false /* True : Visible Only, False : All Node */
            , false /* True : Selected Object, False : All Node */
            , false /* True : Full Match, False : Contains */
            , false /* True : Include Node Path, False : Except Node Path */
            );

    if (vizcore3d.View.XRay.Enable == false)
        vizcore3d.View.XRay.Enable = true;

    vizcore3d.View.XRay.SelectionObject3DType = VIZCore3D.NET.Data.SelectionObject3DTypes.OPAQUE_OBJECT3D;
    vizcore3d.View.XRay.ColorType = VIZCore3D.NET.Data.XRayColorTypes.OBJECT_COLOR;

    vizcore3d.View.XRay.Select(
        items   /* Node */
        , true  /* Selection */
        , true  /* Set Rotation Pivot */
        );
}
See Also