Space Engineers
Static Public Member Functions | List of all members
VRage.Import.VF_Packer Class Reference

Static Public Member Functions

static short PackAmbientAndAlpha (float ambient, byte alpha)
 
static float UnpackAmbient (float packed)
 
static float UnpackAmbient (short packed)
 
static byte UnpackAlpha (short packed)
 
static byte UnpackAlpha (float packed)
 
static uint PackNormal (Vector3 normal)
 
static uint PackNormal (ref Vector3 normal)
 
static uint PackTangentSign (ref Vector4 tangent)
 
static Vector4 UnpackTangentSign (ref Byte4 packedTangent)
 
static Byte4 PackNormalB4 (ref Vector3 normal)
 
static Byte4 PackTangentSignB4 (ref Vector4 tangentW)
 
static Vector3 UnpackNormal (ref uint packedNormal)
 
static Vector3 UnpackNormal (uint packedNormal)
 
static Vector3 UnpackNormal (Byte4 packedNormal)
 
static Vector3 UnpackNormal (ref Byte4 packedNormal)
 
static HalfVector4 PackPosition (Vector3 position)
 
static HalfVector4 PackPosition (ref Vector3 position)
 
static Vector3 UnpackPosition (ref HalfVector4 position)
 
static Vector3 UnpackPosition (HalfVector4 position)
 
static Vector3 RepackModelPosition (ref Vector3 position)
 

Detailed Description

Definition at line 10 of file VF_Packer.cs.

Member Function Documentation

static short VRage.Import.VF_Packer.PackAmbientAndAlpha ( float  ambient,
byte  alpha 
)
inlinestatic

Definition at line 12 of file VF_Packer.cs.

static uint VRage.Import.VF_Packer.PackNormal ( Vector3  normal)
inlinestatic

Definition at line 55 of file VF_Packer.cs.

static uint VRage.Import.VF_Packer.PackNormal ( ref Vector3  normal)
inlinestatic

Definition at line 60 of file VF_Packer.cs.

static Byte4 VRage.Import.VF_Packer.PackNormalB4 ( ref Vector3  normal)
inlinestatic

Definition at line 134 of file VF_Packer.cs.

static HalfVector4 VRage.Import.VF_Packer.PackPosition ( Vector3  position)
inlinestatic

Definition at line 200 of file VF_Packer.cs.

static HalfVector4 VRage.Import.VF_Packer.PackPosition ( ref Vector3  position)
inlinestatic

Definition at line 206 of file VF_Packer.cs.

static uint VRage.Import.VF_Packer.PackTangentSign ( ref Vector4  tangent)
inlinestatic

Definition at line 82 of file VF_Packer.cs.

static Byte4 VRage.Import.VF_Packer.PackTangentSignB4 ( ref Vector4  tangentW)
inlinestatic

Definition at line 142 of file VF_Packer.cs.

static Vector3 VRage.Import.VF_Packer.RepackModelPosition ( ref Vector3  position)
inlinestatic

Definition at line 222 of file VF_Packer.cs.

static byte VRage.Import.VF_Packer.UnpackAlpha ( short  packed)
inlinestatic

Definition at line 37 of file VF_Packer.cs.

static byte VRage.Import.VF_Packer.UnpackAlpha ( float  packed)
inlinestatic

Definition at line 46 of file VF_Packer.cs.

static float VRage.Import.VF_Packer.UnpackAmbient ( float  packed)
inlinestatic

Definition at line 21 of file VF_Packer.cs.

static float VRage.Import.VF_Packer.UnpackAmbient ( short  packed)
inlinestatic

Definition at line 29 of file VF_Packer.cs.

static Vector3 VRage.Import.VF_Packer.UnpackNormal ( ref uint  packedNormal)
inlinestatic

Definition at line 150 of file VF_Packer.cs.

static Vector3 VRage.Import.VF_Packer.UnpackNormal ( uint  packedNormal)
inlinestatic

Definition at line 158 of file VF_Packer.cs.

static Vector3 VRage.Import.VF_Packer.UnpackNormal ( Byte4  packedNormal)
inlinestatic

Definition at line 165 of file VF_Packer.cs.

static Vector3 VRage.Import.VF_Packer.UnpackNormal ( ref Byte4  packedNormal)
inlinestatic

Definition at line 170 of file VF_Packer.cs.

static Vector3 VRage.Import.VF_Packer.UnpackPosition ( ref HalfVector4  position)
inlinestatic

Definition at line 211 of file VF_Packer.cs.

static Vector3 VRage.Import.VF_Packer.UnpackPosition ( HalfVector4  position)
inlinestatic

Definition at line 216 of file VF_Packer.cs.

static Vector4 VRage.Import.VF_Packer.UnpackTangentSign ( ref Byte4  packedTangent)
inlinestatic

Definition at line 101 of file VF_Packer.cs.


The documentation for this class was generated from the following file: