Vector2 MethodsBespoke Osc Library
The Vector2 type exposes the following members.

Public methodStatic memberDistance
Compute the distance between two vectors.
Public methodStatic memberDot
Compute the dot product of two vectors.
Public methodEquals
Determines whether the specified System.Object is equal to the Vector.
(Overrides OnlineValueType Equals(Object).)
Protected methodOnlineFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from OnlineObject.)
Public methodStatic memberGetAngle
Get the angle between two vectors.
Public methodGetHashCode
Gets the hash code of this object.
(Overrides OnlineValueType GetHashCode .)
Public methodOnlineGetType
Gets the OnlineType of the current instance.
(Inherited from OnlineObject.)
Public methodLength
Get the length of the vector.
Public methodStatic memberLoad
Deserialize a vector.
Protected methodOnlineMemberwiseClone
Creates a shallow copy of the current OnlineObject.
(Inherited from OnlineObject.)
Public methodNormalize 
Normalize the vector.
Public methodStatic memberNormalize(Vector2)
Normalize a vector.
Public methodSave
Serialize a vector.
Public methodToPoint
Convert the vector to a OnlinePoint object.
Public methodOnlineToString
Returns the fully qualified type name of this instance.
(Inherited from OnlineValueType.)
Back to Top
See Also