Color legend plain property method
The style class of ViewPort: the properties a style can set on it. None. Framework defaults: HitTest off, MinDepth and MaxDepth from DefaultSettings.
A class deriving from BaseStyle. The styles page shows it in context.
Names are colored by what they are: a property, a method or an event; values and fields keep the plain color.
Properties
MaxDepth 🠆
float · The maximum depth of the viewport’s depth range. Defaults to DefaultSettings.DefaultMaxDepth (1).
MinDepth 🠆
float · The minimum depth of the viewport’s depth range. Defaults to DefaultSettings.DefaultMinDepth (0).
Methods
ViewPortStyle()
IsSet() 🠆
IsSet(string propertyName) · Whether the property is assigned to this style, so the style applies it. Pass the name with nameof; an unknown name gives false.
| Parameter | Type | Description |
|---|---|---|
propertyName |
string |
The name of a property of the style; nameof keeps it right. |