Ctrl+K

Vector3

اعلان

public struct Strawberry.Math.Vector3

پیاده‌سازی می‌کند (Implements): System.IEquatable

سازنده‌ها

Vector3

void Vector3(float x, float y, float z)

پارامترها:

نام نوع توضیحات
x System.Single
y System.Single
z System.Single

Vector3

void Vector3(float value)

پارامترها:

نام نوع توضیحات
value System.Single

Vector3

void Vector3(Vector2 value, float z)

پارامترها:

نام نوع توضیحات
value Strawberry.Math.Vector2
z System.Single

ویژگی‌ها (Properties)

Zero static

Vector3 Zero { get }

One static

Vector3 One { get }

UnitX static

Vector3 UnitX { get }

UnitY static

Vector3 UnitY { get }

UnitZ static

Vector3 UnitZ { get }

Up static

Vector3 Up { get }

Down static

Vector3 Down { get }

Right static

Vector3 Right { get }

Left static

Vector3 Left { get }

Forward static

Vector3 Forward { get }

Backward static

Vector3 Backward { get }

فیلدها

X

float X

Y

float Y

Z

float Z

متدها

Add static

Vector3 Add(Vector3 value1, Vector3 value2)

پارامترها:

نام نوع توضیحات
value1 Strawberry.Math.Vector3
value2 Strawberry.Math.Vector3

Add static

void Add(ref Vector3 value1, ref Vector3 value2, out Vector3 result)

پارامترها:

نام نوع توضیحات
value1 ref Strawberry.Math.Vector3
value2 ref Strawberry.Math.Vector3
result out Strawberry.Math.Vector3

Barycentric static

Vector3 Barycentric(Vector3 value1, Vector3 value2, Vector3 value3, float amount1, float amount2)

پارامترها:

نام نوع توضیحات
value1 Strawberry.Math.Vector3
value2 Strawberry.Math.Vector3
value3 Strawberry.Math.Vector3
amount1 System.Single
amount2 System.Single

Barycentric static

void Barycentric(ref Vector3 value1, ref Vector3 value2, ref Vector3 value3, float amount1, float amount2, out Vector3 result)

پارامترها:

نام نوع توضیحات
value1 ref Strawberry.Math.Vector3
value2 ref Strawberry.Math.Vector3
value3 ref Strawberry.Math.Vector3
amount1 System.Single
amount2 System.Single
result out Strawberry.Math.Vector3

CatmullRom static

Vector3 CatmullRom(Vector3 value1, Vector3 value2, Vector3 value3, Vector3 value4, float amount)

پارامترها:

نام نوع توضیحات
value1 Strawberry.Math.Vector3
value2 Strawberry.Math.Vector3
value3 Strawberry.Math.Vector3
value4 Strawberry.Math.Vector3
amount System.Single

CatmullRom static

void CatmullRom(ref Vector3 value1, ref Vector3 value2, ref Vector3 value3, ref Vector3 value4, float amount, out Vector3 result)

پارامترها:

نام نوع توضیحات
value1 ref Strawberry.Math.Vector3
value2 ref Strawberry.Math.Vector3
value3 ref Strawberry.Math.Vector3
value4 ref Strawberry.Math.Vector3
amount System.Single
result out Strawberry.Math.Vector3

Clamp static

Vector3 Clamp(Vector3 value1, Vector3 min, Vector3 max)

پارامترها:

نام نوع توضیحات
value1 Strawberry.Math.Vector3
min Strawberry.Math.Vector3
max Strawberry.Math.Vector3

Clamp static

void Clamp(ref Vector3 value1, ref Vector3 min, ref Vector3 max, out Vector3 result)

پارامترها:

نام نوع توضیحات
value1 ref Strawberry.Math.Vector3
min ref Strawberry.Math.Vector3
max ref Strawberry.Math.Vector3
result out Strawberry.Math.Vector3

Cross static

Vector3 Cross(Vector3 vector1, Vector3 vector2)

پارامترها:

نام نوع توضیحات
vector1 Strawberry.Math.Vector3
vector2 Strawberry.Math.Vector3

Cross static

void Cross(ref Vector3 vector1, ref Vector3 vector2, out Vector3 result)

پارامترها:

نام نوع توضیحات
vector1 ref Strawberry.Math.Vector3
vector2 ref Strawberry.Math.Vector3
result out Strawberry.Math.Vector3

Distance static

float Distance(Vector3 vector1, Vector3 vector2)

پارامترها:

نام نوع توضیحات
vector1 Strawberry.Math.Vector3
vector2 Strawberry.Math.Vector3

Distance static

void Distance(ref Vector3 value1, ref Vector3 value2, out float result)

پارامترها:

نام نوع توضیحات
value1 ref Strawberry.Math.Vector3
value2 ref Strawberry.Math.Vector3
result out System.Single

DistanceSquared static

float DistanceSquared(Vector3 value1, Vector3 value2)

پارامترها:

نام نوع توضیحات
value1 Strawberry.Math.Vector3
value2 Strawberry.Math.Vector3

DistanceSquared static

void DistanceSquared(ref Vector3 value1, ref Vector3 value2, out float result)

پارامترها:

نام نوع توضیحات
value1 ref Strawberry.Math.Vector3
value2 ref Strawberry.Math.Vector3
result out System.Single

Divide static

Vector3 Divide(Vector3 value1, Vector3 value2)

پارامترها:

نام نوع توضیحات
value1 Strawberry.Math.Vector3
value2 Strawberry.Math.Vector3

Divide static

Vector3 Divide(Vector3 value1, float value2)

پارامترها:

نام نوع توضیحات
value1 Strawberry.Math.Vector3
value2 System.Single

Divide static

void Divide(ref Vector3 value1, float divisor, out Vector3 result)

پارامترها:

نام نوع توضیحات
value1 ref Strawberry.Math.Vector3
divisor System.Single
result out Strawberry.Math.Vector3

Divide static

void Divide(ref Vector3 value1, ref Vector3 value2, out Vector3 result)

پارامترها:

نام نوع توضیحات
value1 ref Strawberry.Math.Vector3
value2 ref Strawberry.Math.Vector3
result out Strawberry.Math.Vector3

Dot static

float Dot(Vector3 vector1, Vector3 vector2)

پارامترها:

نام نوع توضیحات
vector1 Strawberry.Math.Vector3
vector2 Strawberry.Math.Vector3

Dot static

void Dot(ref Vector3 vector1, ref Vector3 vector2, out float result)

پارامترها:

نام نوع توضیحات
vector1 ref Strawberry.Math.Vector3
vector2 ref Strawberry.Math.Vector3
result out System.Single

Equals override

bool Equals(object obj)

پارامترها:

نام نوع توضیحات
obj System.Object

Equals

bool Equals(Vector3 other)

پارامترها:

نام نوع توضیحات
other Strawberry.Math.Vector3

GetHashCode override

int GetHashCode()

Hermite static

Vector3 Hermite(Vector3 value1, Vector3 tangent1, Vector3 value2, Vector3 tangent2, float amount)

پارامترها:

نام نوع توضیحات
value1 Strawberry.Math.Vector3
tangent1 Strawberry.Math.Vector3
value2 Strawberry.Math.Vector3
tangent2 Strawberry.Math.Vector3
amount System.Single

Hermite static

void Hermite(ref Vector3 value1, ref Vector3 tangent1, ref Vector3 value2, ref Vector3 tangent2, float amount, out Vector3 result)

پارامترها:

نام نوع توضیحات
value1 ref Strawberry.Math.Vector3
tangent1 ref Strawberry.Math.Vector3
value2 ref Strawberry.Math.Vector3
tangent2 ref Strawberry.Math.Vector3
amount System.Single
result out Strawberry.Math.Vector3

Length

float Length()

LengthSquared

float LengthSquared()

Lerp static

Vector3 Lerp(Vector3 value1, Vector3 value2, float amount)

پارامترها:

نام نوع توضیحات
value1 Strawberry.Math.Vector3
value2 Strawberry.Math.Vector3
amount System.Single

Lerp static

void Lerp(ref Vector3 value1, ref Vector3 value2, float amount, out Vector3 result)

پارامترها:

نام نوع توضیحات
value1 ref Strawberry.Math.Vector3
value2 ref Strawberry.Math.Vector3
amount System.Single
result out Strawberry.Math.Vector3

Max static

Vector3 Max(Vector3 value1, Vector3 value2)

پارامترها:

نام نوع توضیحات
value1 Strawberry.Math.Vector3
value2 Strawberry.Math.Vector3

Max static

void Max(ref Vector3 value1, ref Vector3 value2, out Vector3 result)

پارامترها:

نام نوع توضیحات
value1 ref Strawberry.Math.Vector3
value2 ref Strawberry.Math.Vector3
result out Strawberry.Math.Vector3

Min static

Vector3 Min(Vector3 value1, Vector3 value2)

پارامترها:

نام نوع توضیحات
value1 Strawberry.Math.Vector3
value2 Strawberry.Math.Vector3

Min static

void Min(ref Vector3 value1, ref Vector3 value2, out Vector3 result)

پارامترها:

نام نوع توضیحات
value1 ref Strawberry.Math.Vector3
value2 ref Strawberry.Math.Vector3
result out Strawberry.Math.Vector3

Multiply static

Vector3 Multiply(Vector3 value1, Vector3 value2)

پارامترها:

نام نوع توضیحات
value1 Strawberry.Math.Vector3
value2 Strawberry.Math.Vector3

Multiply static

Vector3 Multiply(Vector3 value1, float scaleFactor)

پارامترها:

نام نوع توضیحات
value1 Strawberry.Math.Vector3
scaleFactor System.Single

Multiply static

void Multiply(ref Vector3 value1, float scaleFactor, out Vector3 result)

پارامترها:

نام نوع توضیحات
value1 ref Strawberry.Math.Vector3
scaleFactor System.Single
result out Strawberry.Math.Vector3

Multiply static

void Multiply(ref Vector3 value1, ref Vector3 value2, out Vector3 result)

پارامترها:

نام نوع توضیحات
value1 ref Strawberry.Math.Vector3
value2 ref Strawberry.Math.Vector3
result out Strawberry.Math.Vector3

Negate static

Vector3 Negate(Vector3 value)

پارامترها:

نام نوع توضیحات
value Strawberry.Math.Vector3

Negate static

void Negate(ref Vector3 value, out Vector3 result)

پارامترها:

نام نوع توضیحات
value ref Strawberry.Math.Vector3
result out Strawberry.Math.Vector3

Normalize

void Normalize()

Normalize static

Vector3 Normalize(Vector3 vector)

پارامترها:

نام نوع توضیحات
vector Strawberry.Math.Vector3

Normalize static

void Normalize(ref Vector3 value, out Vector3 result)

پارامترها:

نام نوع توضیحات
value ref Strawberry.Math.Vector3
result out Strawberry.Math.Vector3

Reflect static

Vector3 Reflect(Vector3 vector, Vector3 normal)

پارامترها:

نام نوع توضیحات
vector Strawberry.Math.Vector3
normal Strawberry.Math.Vector3

Reflect static

void Reflect(ref Vector3 vector, ref Vector3 normal, out Vector3 result)

پارامترها:

نام نوع توضیحات
vector ref Strawberry.Math.Vector3
normal ref Strawberry.Math.Vector3
result out Strawberry.Math.Vector3

SmoothStep static

Vector3 SmoothStep(Vector3 value1, Vector3 value2, float amount)

پارامترها:

نام نوع توضیحات
value1 Strawberry.Math.Vector3
value2 Strawberry.Math.Vector3
amount System.Single

SmoothStep static

void SmoothStep(ref Vector3 value1, ref Vector3 value2, float amount, out Vector3 result)

پارامترها:

نام نوع توضیحات
value1 ref Strawberry.Math.Vector3
value2 ref Strawberry.Math.Vector3
amount System.Single
result out Strawberry.Math.Vector3

Subtract static

Vector3 Subtract(Vector3 value1, Vector3 value2)

پارامترها:

نام نوع توضیحات
value1 Strawberry.Math.Vector3
value2 Strawberry.Math.Vector3

Subtract static

void Subtract(ref Vector3 value1, ref Vector3 value2, out Vector3 result)

پارامترها:

نام نوع توضیحات
value1 ref Strawberry.Math.Vector3
value2 ref Strawberry.Math.Vector3
result out Strawberry.Math.Vector3

ToString override

string ToString()

Transform static

Vector3 Transform(Vector3 position, Matrix4 matrix)

پارامترها:

نام نوع توضیحات
position Strawberry.Math.Vector3
matrix Strawberry.Math.Matrix4

Transform static

void Transform(ref Vector3 position, ref Matrix4 matrix, out Vector3 result)

پارامترها:

نام نوع توضیحات
position ref Strawberry.Math.Vector3
matrix ref Strawberry.Math.Matrix4
result out Strawberry.Math.Vector3

Transform static

void Transform(Vector3[] sourceArray, ref Matrix4 matrix, Vector3[] destinationArray)

پارامترها:

نام نوع توضیحات
sourceArray Strawberry.Math.Vector3[]
matrix ref Strawberry.Math.Matrix4
destinationArray Strawberry.Math.Vector3[]

Transform static

void Transform(Vector3[] sourceArray, int sourceIndex, ref Matrix4 matrix, Vector3[] destinationArray, int destinationIndex, int length)

پارامترها:

نام نوع توضیحات
sourceArray Strawberry.Math.Vector3[]
sourceIndex System.Int32
matrix ref Strawberry.Math.Matrix4
destinationArray Strawberry.Math.Vector3[]
destinationIndex System.Int32
length System.Int32

TransformNormal static

void TransformNormal(Vector3[] sourceArray, ref Matrix4 matrix, Vector3[] destinationArray)

پارامترها:

نام نوع توضیحات
sourceArray Strawberry.Math.Vector3[]
matrix ref Strawberry.Math.Matrix4
destinationArray Strawberry.Math.Vector3[]

TransformNormal static

void TransformNormal(Vector3[] sourceArray, int sourceIndex, ref Matrix4 matrix, Vector3[] destinationArray, int destinationIndex, int length)

پارامترها:

نام نوع توضیحات
sourceArray Strawberry.Math.Vector3[]
sourceIndex System.Int32
matrix ref Strawberry.Math.Matrix4
destinationArray Strawberry.Math.Vector3[]
destinationIndex System.Int32
length System.Int32

TransformNormal static

Vector3 TransformNormal(Vector3 normal, Matrix4 matrix)

پارامترها:

نام نوع توضیحات
normal Strawberry.Math.Vector3
matrix Strawberry.Math.Matrix4

TransformNormal static

void TransformNormal(ref Vector3 normal, ref Matrix4 matrix, out Vector3 result)

پارامترها:

نام نوع توضیحات
normal ref Strawberry.Math.Vector3
matrix ref Strawberry.Math.Matrix4
result out Strawberry.Math.Vector3

عملگرها

op_Equality static

bool op_Equality(Vector3 value1, Vector3 value2)

پارامترها:

نام نوع توضیحات
value1 Strawberry.Math.Vector3
value2 Strawberry.Math.Vector3

op_Inequality static

bool op_Inequality(Vector3 value1, Vector3 value2)

پارامترها:

نام نوع توضیحات
value1 Strawberry.Math.Vector3
value2 Strawberry.Math.Vector3

op_Addition static

Vector3 op_Addition(Vector3 value1, Vector3 value2)

پارامترها:

نام نوع توضیحات
value1 Strawberry.Math.Vector3
value2 Strawberry.Math.Vector3

op_UnaryNegation static

Vector3 op_UnaryNegation(Vector3 value)

پارامترها:

نام نوع توضیحات
value Strawberry.Math.Vector3

op_Subtraction static

Vector3 op_Subtraction(Vector3 value1, Vector3 value2)

پارامترها:

نام نوع توضیحات
value1 Strawberry.Math.Vector3
value2 Strawberry.Math.Vector3

op_Multiply static

Vector3 op_Multiply(Vector3 value1, Vector3 value2)

پارامترها:

نام نوع توضیحات
value1 Strawberry.Math.Vector3
value2 Strawberry.Math.Vector3

op_Multiply static

Vector3 op_Multiply(Vector3 value, float scaleFactor)

پارامترها:

نام نوع توضیحات
value Strawberry.Math.Vector3
scaleFactor System.Single

op_Multiply static

Vector3 op_Multiply(float scaleFactor, Vector3 value)

پارامترها:

نام نوع توضیحات
scaleFactor System.Single
value Strawberry.Math.Vector3

op_Division static

Vector3 op_Division(Vector3 value1, Vector3 value2)

پارامترها:

نام نوع توضیحات
value1 Strawberry.Math.Vector3
value2 Strawberry.Math.Vector3

op_Division static

Vector3 op_Division(Vector3 value, float divider)

پارامترها:

نام نوع توضیحات
value Strawberry.Math.Vector3
divider System.Single