datamodels Vector3 - RaidMax/IW4M-Admin GitHub Wiki
Vector3 Public class
Diagram
flowchart LR
classDef interfaceStyle stroke-dasharray: 5 5;
classDef abstractStyle stroke-width:4px
subgraph Data.Models
Data.Models.Vector3[Vector3](/RaidMax/IW4M-Admin/wiki/Vector3)
end
Members
Properties
Public properties
Type |
Name |
Methods |
int |
Vector3Id |
get, set |
float |
X |
get, protected set |
float |
Y |
get, protected set |
float |
Z |
get, protected set |
Methods
Public methods
Public Static methods
Details
Constructors
Vector3 [1/2]
Source code
public Vector3()
Vector3 [2/2]
Source code
public Vector3(float x, float y, float z)
Arguments
Type |
Name |
Description |
float |
x |
|
float |
y |
|
float |
z |
|
Methods
ToString
Source code
public override string ToString()
Equals
Source code
public override bool Equals(object obj)
Arguments
Type |
Name |
Description |
object |
obj |
|
Parse
Source code
public static Vector3 Parse(string s)
Arguments
Type |
Name |
Description |
string |
s |
|
Distance
Source code
public static double Distance(Vector3 a, Vector3 b)
Arguments
AbsoluteDistance
Source code
public static double AbsoluteDistance(Vector3 a, Vector3 b)
Arguments
ViewAngleDistance
Source code
public static double ViewAngleDistance(Vector3 a, Vector3 b, Vector3 c)
Arguments
Subtract
Source code
public static Vector3 Subtract(Vector3 a, Vector3 b)
Arguments
DotProduct
Source code
public double DotProduct(Vector3 a)
Arguments
Magnitude
Source code
public double Magnitude()
AngleBetween
Source code
public double AngleBetween(Vector3 a)
Arguments
Properties
Vector3Id
public int Vector3Id { get; set; }
X
public float X { get; protected set; }
Y
public float Y { get; protected set; }
Z
public float Z { get; protected set; }
Generated with ModularDoc