Struct MarsMarkerDefinition
Syntax
public struct MarsMarkerDefinition : IEquatable<MarsMarkerDefinition>
Properties
Label
An optional label associated with this marker, for a user to identify a particular marker from script in
the case of a condition that matches multiple images.
Declaration
public string Label { get; set; }
Property Value
MarkerId
The Guid
associated with this marker. The guid is generated for each new marker definition created.
Declaration
public Guid MarkerId { get; }
Property Value
Size
The size of the marker image, in meters. This can improve marker detection,
and may be required by some platforms.
Declaration
public Vector2 Size { get; set; }
Property Value
SpecifySize
Must be set to true for Size to be used.
Declaration
public bool SpecifySize { get; }
Property Value
Texture
The source texture whose image this marker represents.
Declaration
public Texture2D Texture { get; set; }
Property Value
Type |
Description |
Texture2D |
|
Methods
Equals(Object)
Declaration
public override bool Equals(object obj)
Parameters
Type |
Name |
Description |
Object |
obj |
|
Returns
Equals(MarsMarkerDefinition)
Declaration
public bool Equals(MarsMarkerDefinition other)
Parameters
Returns
GetHashCode()
Declaration
public override int GetHashCode()
Returns