C# Class BitHelper

ファイルを表示 Open project: lightszero/EgretUnity Class Usage Examples

Public Methods

Method Description
MatrixDeCompose ( Matrix4x4, m, Vector3 &pos, Vector3 &scale, Quaternion, &quat ) : void
ReadAniClip ( System s ) : AniClip
ReadMesh ( byte data, int _seek ) : Mesh,
ReadString ( byte buf, int pos, int &seekoffset ) : string
StreamToBytes ( Stream stream ) : byte[]
ToBounds ( byte bytes, int pos ) : Bounds,
ToColor32 ( byte buf, int pos ) : Color32
ToQuaternion ( byte buf, int pos ) : Quaternion,
ToString ( byte buf, int pos ) : string
ToVector2 ( byte buf, int pos ) : Vector2
ToVector3 ( byte buf, int pos ) : Vector3
ToVector4 ( byte buf, int pos ) : Vector4
WriteAniClip ( FB, clip, System ms ) : void
WriteMesh ( Mesh, mesh, System s ) : void
getBytes ( Bounds, bound ) : byte[]
getBytes ( Color32 color ) : byte[]
getBytes ( Quaternion, pos ) : byte[]
getBytes ( Vector2 pos ) : byte[]
getBytes ( Vector3 pos ) : byte[]
getBytes ( Vector4 pos ) : byte[]
getBytes ( string str ) : byte[]

Method Details

MatrixDeCompose() public static method

public static MatrixDeCompose ( Matrix4x4, m, Vector3 &pos, Vector3 &scale, Quaternion, &quat ) : void
m Matrix4x4,
pos Vector3
scale Vector3
quat Quaternion,
return void

ReadAniClip() public static method

public static ReadAniClip ( System s ) : AniClip
s System
return FB.PosePlus.AniClip

ReadMesh() public static method

public static ReadMesh ( byte data, int _seek ) : Mesh,
data byte
_seek int
return Mesh,

ReadString() public static method

public static ReadString ( byte buf, int pos, int &seekoffset ) : string
buf byte
pos int
seekoffset int
return string

StreamToBytes() public static method

public static StreamToBytes ( Stream stream ) : byte[]
stream Stream
return byte[]

ToBounds() public static method

public static ToBounds ( byte bytes, int pos ) : Bounds,
bytes byte
pos int
return Bounds,

ToColor32() public static method

public static ToColor32 ( byte buf, int pos ) : Color32
buf byte
pos int
return Color32

ToQuaternion() public static method

public static ToQuaternion ( byte buf, int pos ) : Quaternion,
buf byte
pos int
return Quaternion,

ToString() public static method

public static ToString ( byte buf, int pos ) : string
buf byte
pos int
return string

ToVector2() public static method

public static ToVector2 ( byte buf, int pos ) : Vector2
buf byte
pos int
return Vector2

ToVector3() public static method

public static ToVector3 ( byte buf, int pos ) : Vector3
buf byte
pos int
return Vector3

ToVector4() public static method

public static ToVector4 ( byte buf, int pos ) : Vector4
buf byte
pos int
return Vector4

WriteAniClip() public static method

public static WriteAniClip ( FB, clip, System ms ) : void
clip FB,
ms System
return void

WriteMesh() public static method

public static WriteMesh ( Mesh, mesh, System s ) : void
mesh Mesh,
s System
return void

getBytes() public static method

public static getBytes ( Bounds, bound ) : byte[]
bound Bounds,
return byte[]

getBytes() public static method

public static getBytes ( Color32 color ) : byte[]
color Color32
return byte[]

getBytes() public static method

public static getBytes ( Quaternion, pos ) : byte[]
pos Quaternion,
return byte[]

getBytes() public static method

public static getBytes ( Vector2 pos ) : byte[]
pos Vector2
return byte[]

getBytes() public static method

public static getBytes ( Vector3 pos ) : byte[]
pos Vector3
return byte[]

getBytes() public static method

public static getBytes ( Vector4 pos ) : byte[]
pos Vector4
return byte[]

getBytes() public static method

public static getBytes ( string str ) : byte[]
str string
return byte[]