Show / Hide Table of Contents

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 Source

CompassGameObject(PlayerGameObject)

Initializes a new instance of the CompassGameObject class.

Declaration
public CompassGameObject(PlayerGameObject playerObject)
Parameters
Type Name Description
PlayerGameObject playerObject

The player object.

View Source

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 Source

FullName

Gets or sets the full name.

Declaration
public string FullName { get; set; }
Property Value
Type Description
System.String
View Source

Location

Gets or sets the location.

Declaration
public Vector3 Location { get; set; }
Property Value
Type Description
System.Numerics.Vector3
View Source

ObjectColor

Gets or sets the color of the object.

Declaration
public Color ObjectColor { get; set; }
Property Value
Type Description
System.Windows.Media.Color
View Source

ObjectType

Gets or sets the type of the object.

Declaration
public string ObjectType { get; set; }
Property Value
Type Description
System.String
View Source

PlayerGameObject

Gets or sets the player game object.

Declaration
public PlayerGameObject PlayerGameObject { get; set; }
Property Value
Type Description
PlayerGameObject
View Source

Rotation

Gets or sets the rotation.

Declaration
public Vector3 Rotation { get; set; }
Property Value
Type Description
System.Numerics.Vector3
  • View Source
In This Article
Back to top Generated by DocFX