C# 클래스 BitHelper

파일 보기 프로젝트 열기: lightszero/EgretUnity 1 사용 예제들

공개 메소드들

메소드 설명
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[]

메소드 상세

MatrixDeCompose() 공개 정적인 메소드

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

ReadAniClip() 공개 정적인 메소드

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

ReadMesh() 공개 정적인 메소드

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

ReadString() 공개 정적인 메소드

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

StreamToBytes() 공개 정적인 메소드

public static StreamToBytes ( Stream stream ) : byte[]
stream Stream
리턴 byte[]

ToBounds() 공개 정적인 메소드

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

ToColor32() 공개 정적인 메소드

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

ToQuaternion() 공개 정적인 메소드

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

ToString() 공개 정적인 메소드

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

ToVector2() 공개 정적인 메소드

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

ToVector3() 공개 정적인 메소드

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

ToVector4() 공개 정적인 메소드

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

WriteAniClip() 공개 정적인 메소드

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

WriteMesh() 공개 정적인 메소드

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

getBytes() 공개 정적인 메소드

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

getBytes() 공개 정적인 메소드

public static getBytes ( Color32 color ) : byte[]
color Color32
리턴 byte[]

getBytes() 공개 정적인 메소드

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

getBytes() 공개 정적인 메소드

public static getBytes ( Vector2 pos ) : byte[]
pos Vector2
리턴 byte[]

getBytes() 공개 정적인 메소드

public static getBytes ( Vector3 pos ) : byte[]
pos Vector3
리턴 byte[]

getBytes() 공개 정적인 메소드

public static getBytes ( Vector4 pos ) : byte[]
pos Vector4
리턴 byte[]

getBytes() 공개 정적인 메소드

public static getBytes ( string str ) : byte[]
str string
리턴 byte[]