SurfacePicker

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

Constructors

SurfacePicker

#
public SurfacePicker(bool allowMultiple, bool allowMeshes)
allowMultiple (bool)
allowMeshes (bool)

Properties

AllowMeshes

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

AllowMultiple

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

AllowSubObjects

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

DefaultPrompt

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

Prompt

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

Methods

Dispose

#
public void Dispose()

Get

#
public bool Get()

ToTree

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