Class CompassGameObject
Object to display on compass.
Inheritance
System.Object
CompassGameObject
Namespace: Phoenix.Controls.Compass
Assembly: Phoenix.Controls.Compass.dll
Syntax
public class CompassGameObject : BindableBase
Constructors
View SourceCompassGameObject(PlayerGameObject)
Initializes a new instance of the CompassGameObject class.
Declaration
public CompassGameObject(PlayerGameObject playerObject)
Parameters
Type | Name | Description |
---|---|---|
PlayerGameObject | playerObject | The player object. |
CompassGameObject(PlayerGameObject, String, String, Vector3, Color)
Initializes a new instance of the CompassGameObject class.
Declaration
public CompassGameObject(PlayerGameObject playerObject, string fullName, string objectType, Vector3 location, Color objectColor)
Parameters
Type | Name | Description |
---|---|---|
PlayerGameObject | playerObject | The player object. |
System.String | fullName | The unique name of this object. |
System.String | objectType | The object type. |
System.Numerics.Vector3 | location | The location of the object as a Vector3. |
System.Windows.Media.Color | objectColor | The color of this object. |
Properties
View SourceFullName
Gets or sets the full name.
Declaration
public string FullName { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Location
Gets or sets the location.
Declaration
public Vector3 Location { get; set; }
Property Value
Type | Description |
---|---|
System.Numerics.Vector3 |
ObjectColor
Gets or sets the color of the object.
Declaration
public Color ObjectColor { get; set; }
Property Value
Type | Description |
---|---|
System.Windows.Media.Color |
ObjectType
Gets or sets the type of the object.
Declaration
public string ObjectType { get; set; }
Property Value
Type | Description |
---|---|
System.String |
PlayerGameObject
Gets or sets the player game object.
Declaration
public PlayerGameObject PlayerGameObject { get; set; }
Property Value
Type | Description |
---|---|
PlayerGameObject |
Rotation
Gets or sets the rotation.
Declaration
public Vector3 Rotation { get; set; }
Property Value
Type | Description |
---|---|
System.Numerics.Vector3 |