SurfacePicker

public sealed class SurfacePicker : IDisposable
Picker class for various kinds of surfaces.

Constructors

SurfacePicker

#
public SurfacePicker(
allowMultiple,
allowMeshes
)

Properties

AllowMeshes

#
Gets whether this picker also allows meshes to be picked.
public bool AllowMeshes { get; }

AllowMultiple

#
Gets whether this picker allows only a single result, or many.
public bool AllowMultiple { get; }

AllowSubObjects

#
Gets or sets whether faces in polysurfaces can be selected.
public bool AllowSubObjects { get; set; }

DefaultPrompt

#
Gets the default prompt.
public string DefaultPrompt { get; }

Prompt

#
Gets or sets the prompt override.
public string Prompt { get; set; }

Methods

Dispose

#
public void Dispose()

Get

#
public bool Get()

ToTree

#
Create a tree containing the collected surfaces.
public Tree<object> ToTree()