Class MessageUpdateUser
A network message to update a user indicator.
Inheritance
System.Object
    MessageUpdateUser
  Inherited Members
      System.Object.Equals(System.Object)
    
    
      System.Object.Equals(System.Object, System.Object)
    
    
      System.Object.GetHashCode()
    
    
      System.Object.GetType()
    
    
      System.Object.MemberwiseClone()
    
    
      System.Object.ReferenceEquals(System.Object, System.Object)
    
    
      System.Object.ToString()
    
  Namespace: IMLD.MixedRealityAnalysis.Network.Messages
Assembly: Assembly-CSharp.dll
Syntax
public class MessageUpdateUserConstructors
MessageUpdateUser(Vector3, Quaternion, Guid, Color)
Initializes a new instance of the MessageUpdateUser class.
Declaration
public MessageUpdateUser(Vector3 position, Quaternion orientation, Guid id, Color color)Parameters
| Type | Name | Description | 
|---|---|---|
| UnityEngine.Vector3 | position | The new position of the user. | 
| UnityEngine.Quaternion | orientation | The new orientation of the user. | 
| System.Guid | id | The System.Guid of the user. | 
| UnityEngine.Color | color | The color of the user indicator. | 
Fields
ColorB
Declaration
[JsonProperty]
public float ColorBField Value
| Type | Description | 
|---|---|
| System.Single | 
ColorG
Declaration
[JsonProperty]
public float ColorGField Value
| Type | Description | 
|---|---|
| System.Single | 
ColorR
Declaration
[JsonProperty]
public float ColorRField Value
| Type | Description | 
|---|---|
| System.Single | 
Id
Declaration
public Guid IdField Value
| Type | Description | 
|---|---|
| System.Guid | 
PosX
Declaration
[JsonProperty]
public float PosXField Value
| Type | Description | 
|---|---|
| System.Single | 
PosY
Declaration
[JsonProperty]
public float PosYField Value
| Type | Description | 
|---|---|
| System.Single | 
PosZ
Declaration
[JsonProperty]
public float PosZField Value
| Type | Description | 
|---|---|
| System.Single | 
RotW
Declaration
[JsonProperty]
public float RotWField Value
| Type | Description | 
|---|---|
| System.Single | 
RotX
Declaration
[JsonProperty]
public float RotXField Value
| Type | Description | 
|---|---|
| System.Single | 
RotY
Declaration
[JsonProperty]
public float RotYField Value
| Type | Description | 
|---|---|
| System.Single | 
RotZ
Declaration
[JsonProperty]
public float RotZField Value
| Type | Description | 
|---|---|
| System.Single | 
Type
Declaration
public static MessageContainer.MessageType TypeField Value
| Type | Description | 
|---|---|
| MessageContainer.MessageType | 
Properties
Color
Gets or sets the color of the user update.
Declaration
[JsonIgnore]
public Color Color { get; set; }Property Value
| Type | Description | 
|---|---|
| UnityEngine.Color | 
Orientation
Gets or sets the orientation of the user update.
Declaration
[JsonIgnore]
public Quaternion Orientation { get; set; }Property Value
| Type | Description | 
|---|---|
| UnityEngine.Quaternion | 
Position
Gets or sets the position of the user update.
Declaration
[JsonIgnore]
public Vector3 Position { get; set; }Property Value
| Type | Description | 
|---|---|
| UnityEngine.Vector3 | 
Methods
Pack()
Packs this MessageUpdateUser into a MessageContainer.
Declaration
public MessageContainer Pack()Returns
| Type | Description | 
|---|---|
| MessageContainer | The packed message. | 
Unpack(MessageContainer)
Unpacks a MessageContainer of the type MessageUpdateUser.
Declaration
public static MessageUpdateUser Unpack(MessageContainer container)Parameters
| Type | Name | Description | 
|---|---|---|
| MessageContainer | container | The container of the message. | 
Returns
| Type | Description | 
|---|---|
| MessageUpdateUser | The unpacked message. |