Class MarkerConstants
Image marker size constants.
Inheritance
MarkerConstants
Syntax
public static class MarkerConstants
Fields
MarkerSizeOptions
Declaration
public static readonly string[] MarkerSizeOptions
Field Value
MarkerSizeOptionsValuesInMeters
Declaration
public static readonly Vector2[] MarkerSizeOptionsValuesInMeters
Field Value
Type |
Description |
Vector2[] |
|
Properties
MinimumPhysicalMarkerSizeHeightInMeters
Declaration
public static float MinimumPhysicalMarkerSizeHeightInMeters { get; }
Property Value
MinimumPhysicalMarkerSizeInCentimeters
Declaration
public static Vector2 MinimumPhysicalMarkerSizeInCentimeters { get; }
Property Value
MinimumPhysicalMarkerSizeWidthInMeters
Declaration
public static float MinimumPhysicalMarkerSizeWidthInMeters { get; }
Property Value
PostcardHeightInMeters
Declaration
public static float PostcardHeightInMeters { get; }
Property Value
PostcardWidthInMeters
Declaration
public static float PostcardWidthInMeters { get; }
Property Value
Methods
GetSelectedMarsMarkerSizeOption(Vector2)
Get the size option index from the MarkerConstants
Declaration
public static int GetSelectedMarsMarkerSizeOption(Vector2 sizeToCompare)
Parameters
Type |
Name |
Description |
Vector2 |
sizeToCompare |
Size to compare to size constants
|
Returns
Type |
Description |
Int32 |
The selected size option index, or 0 for a custom size
|