Struct PickerOptions
A collection of settings defining how mesh element picking behaves.
Syntax
public struct PickerOptions
Properties
Default
Declaration
public static PickerOptions Default { get; }
Property Value
Type |
Description |
PickerOptions |
A set of options with default values.
|
depthTest
Declaration
public bool depthTest { get; set; }
Property Value
Type |
Description |
System.Boolean |
Should depth testing be performed when hit testing elements?
Enable to select only visible elements, disable to select all elements regardless of visibility.
|
rectSelectMode
Declaration
public RectSelectMode rectSelectMode { get; set; }
Property Value
Type |
Description |
RectSelectMode |
Require elements to be completely encompassed by the rect selection (Complete) or only touched (Partial).
|
Methods
Equals(Object)
Declaration
public override bool Equals(object obj)
Parameters
Type |
Name |
Description |
System.Object |
obj |
|
Returns
Type |
Description |
System.Boolean |
|
Overrides
System.ValueType.Equals(System.Object)
Equals(PickerOptions)
Declaration
public bool Equals(PickerOptions other)
Parameters
Returns
Type |
Description |
System.Boolean |
|
GetHashCode()
Declaration
public override int GetHashCode()
Returns
Type |
Description |
System.Int32 |
|
Overrides
System.ValueType.GetHashCode()
Operators
Equality(PickerOptions, PickerOptions)
Declaration
public static bool operator ==(PickerOptions a, PickerOptions b)
Parameters
Returns
Type |
Description |
System.Boolean |
|
Inequality(PickerOptions, PickerOptions)
Declaration
public static bool operator !=(PickerOptions a, PickerOptions b)
Parameters
Returns
Type |
Description |
System.Boolean |
|