Skip to content
This repository was archived by the owner on Dec 13, 2025. It is now read-only.

VRageMath.Vector3UByte

Malware edited this page Dec 25, 2018 · 42 revisions

Index

Vector3UByte Struct

private public sealed Vector3UByte
```csharp

**Namespace:** [VRageMath](VRageMath)  
**Assembly:** VRage.Math.dll

### Example

### Remarks

###### Fields

|Member|Description|
|---|---|
|[X](VRageMath.Vector3UByte.X)||
|[Y](VRageMath.Vector3UByte.Y)||
|[Z](VRageMath.Vector3UByte.Z)||
|[Comparer](VRageMath.Vector3UByte.Comparer)||
|[Zero](VRageMath.Vector3UByte.Zero)||

###### Methods

|Member|Description|
|---|---|
|[ToString()](VRageMath.Vector3UByte.ToString)||
|[GetHashCode()](VRageMath.Vector3UByte.GetHashCode)||
|[Equals(object)](VRageMath.Vector3UByte.Equals)||
|[Round(Vector3)](VRageMath.Vector3UByte.Round)||
|[Floor(Vector3)](VRageMath.Vector3UByte.Floor)||
|[LengthSquared()](VRageMath.Vector3UByte.LengthSquared)||
|[IsMiddle(Vector3UByte)](VRageMath.Vector3UByte.IsMiddle)|Returns true when all components are 127|
|[Normalize(Vector3, float)](VRageMath.Vector3UByte.Normalize)|Normalizes Vector3 into Vector4UByte, scales vector from (-range, range) to (0, 255). Unsafe for values "range >= any_vec_value / 257";|
|[Denormalize(Vector3UByte, float)](VRageMath.Vector3UByte.Denormalize)|Unpacks Vector3 from Vector3UByte, scales vector from (0, 255) to (-range, range)|

Clone this wiki locally