Show / Hide Table of Contents

Class Vector3B

Inheritance
System.Object
Vector3B
Namespace: VRageMath
Assembly: VRage.Math.dll
Syntax
public sealed class Vector3B : ValueType

Constructors

Vector3B(SByte, SByte, SByte)

Declaration
public Vector3B(sbyte x, sbyte y, sbyte z)
Parameters
Type Name Description
System.SByte x
System.SByte y
System.SByte z

Vector3B(Vector3I)

Declaration
public Vector3B(Vector3I vec)
Parameters
Type Name Description
Vector3I vec

Fields

Backward

Declaration
public static Vector3B Backward
Field Value
Type Description
Vector3B

Down

Declaration
public static Vector3B Down
Field Value
Type Description
Vector3B

Forward

Declaration
public static Vector3B Forward
Field Value
Type Description
Vector3B

Left

Declaration
public static Vector3B Left
Field Value
Type Description
Vector3B

Right

Declaration
public static Vector3B Right
Field Value
Type Description
Vector3B

Up

Declaration
public static Vector3B Up
Field Value
Type Description
Vector3B

X

Declaration
public sbyte X
Field Value
Type Description
System.SByte

Y

Declaration
public sbyte Y
Field Value
Type Description
System.SByte

Z

Declaration
public sbyte Z
Field Value
Type Description
System.SByte

Zero

Declaration
public static readonly Vector3B Zero
Field Value
Type Description
Vector3B

Methods

Equals(Object)

Declaration
public override bool Equals(object obj)
Parameters
Type Name Description
System.Object obj
Returns
Type Description
System.Boolean

Fit(Vector3, Single)

Puts Vector3 into Vector3B, value -127 represents -range, 128 represents range

Declaration
public static Vector3B Fit(Vector3 vec, float range)
Parameters
Type Name Description
Vector3 vec
System.Single range
Returns
Type Description
Vector3B

GetHashCode()

Declaration
public override int GetHashCode()
Returns
Type Description
System.Int32

Round(Vector3)

Declaration
public static Vector3B Round(Vector3 vec)
Parameters
Type Name Description
Vector3 vec
Returns
Type Description
Vector3B

ToString()

Declaration
public override string ToString()
Returns
Type Description
System.String

Operators

Equality(Vector3B, Vector3B)

Declaration
public static bool operator ==(Vector3B a, Vector3B b)
Parameters
Type Name Description
Vector3B a
Vector3B b
Returns
Type Description
System.Boolean

Implicit(Vector3B to Vector3I)

Declaration
public static implicit operator Vector3I(Vector3B vec)
Parameters
Type Name Description
Vector3B vec
Returns
Type Description
Vector3I

Inequality(Vector3B, Vector3B)

Declaration
public static bool operator !=(Vector3B a, Vector3B b)
Parameters
Type Name Description
Vector3B a
Vector3B b
Returns
Type Description
System.Boolean

Multiply(Vector3, Vector3B)

Declaration
public static Vector3 operator *(Vector3 vector, Vector3B shortVector)
Parameters
Type Name Description
Vector3 vector
Vector3B shortVector
Returns
Type Description
Vector3

Multiply(Vector3B, Vector3)

Declaration
public static Vector3 operator *(Vector3B shortVector, Vector3 vector)
Parameters
Type Name Description
Vector3B shortVector
Vector3 vector
Returns
Type Description
Vector3

UnaryNegation(Vector3B)

Declaration
public static Vector3B operator -(Vector3B me)
Parameters
Type Name Description
Vector3B me
Returns
Type Description
Vector3B
☀
☾
In This Article
Back to top
Generated by DocFX
☀
☾