C# 클래스 ME3Explorer.Unreal.Classes.StaticMesh

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

공개 프로퍼티들

프로퍼티 타입 설명
Mesh MeshStruct
MyName string
RawTriangles List
Vertices List
index int
isSelected bool
isVolumetric bool
kdNodes List
memory byte[]
memsize int
pcc ME3Package
props List
psk ME3Explorer.Unreal.PSKFile
readerpos int

공개 메소드들

메소드 설명
ApplyTangents ( int edge, System.Vector4 tan, System.Vector4 bitan ) : void
CalcTangentSpace ( ) : void
DeserializeDump ( byte raw ) : void
DrawMesh ( Device device ) : void
Dump ( ) : byte[]
Export3DS ( lib3ds.Net.Lib3dsFile f, System.Matrix m ) : void
ExportToPsk ( ) : PSKFile
ExportToPsk ( string path ) : void
FloatToHalf ( float f ) : UInt16
Focus ( System.Matrix m ) : void
GenerateMesh ( ) : void
GetMaterial ( int index ) : byte
GetSelection ( ) : bool
HalfToFloat ( UInt16 val ) : float
ImportFromPsk ( string path ) : void
Process3DClick ( System.Vector3 org, System.Vector3 dir, System.Matrix m ) : float
RayIntersectTriangle ( System.Vector3 rayPosition, System.Vector3 rayDirection, System.Vector3 tri0, System.Vector3 tri1, System.Vector3 tri2, float &pickDistance ) : bool
ReadBoundings ( byte memory ) : void
ReadBuffers ( byte memory ) : void
ReadEdges ( byte memory ) : void
ReadEnd ( byte memory ) : void
ReadIndexBuffer ( byte memory ) : void
ReadMaterials ( byte memory ) : void
ReadRawTris ( byte memory ) : void
ReadVerts ( byte memory ) : void
ReadkDOPTree ( byte memory ) : void
ReadkdNodes ( Meshplorer bound, byte memory ) : void
RecalculateBoundings ( ) : void
Render ( Device device, System.Matrix m ) : void
SerializeToBuffer ( ) : byte[]
SerializeToFile ( string path ) : void
SetSelection ( bool Selected ) : void
StaticMesh ( ) : System
StaticMesh ( ME3Package Pcc, int Index ) : System
ToTree ( ) : TreeNode
ToTreeShort ( ) : TreeNode
ToVec3 ( List points ) : List
ToVec3 ( PSKFile p ) : System.Vector3
ToVec3 ( List points ) : System.Vector3[]
ToVec3 ( PSKFile points ) : System.Vector3[]
UnknownPart ( byte memory ) : void
WriteBoundaries ( FileStream fs ) : void
WriteBoundaries ( MemoryStream fs ) : void
WriteBuffers ( FileStream fs ) : void
WriteBuffers ( MemoryStream fs ) : void
WriteEdges ( FileStream fs ) : void
WriteEdges ( MemoryStream fs ) : void
WriteEnd ( FileStream fs ) : void
WriteEnd ( MemoryStream fs ) : void
WriteIndexBuffers ( FileStream fs ) : void
WriteIndexBuffers ( MemoryStream fs ) : void
WriteMaterials ( FileStream fs ) : void
WriteMaterials ( MemoryStream fs ) : void
WriteProperties ( MemoryStream fs ) : void
WriteTriangles ( FileStream fs ) : void
WriteTriangles ( MemoryStream fs ) : void
WriteUnknownPart ( FileStream fs ) : void
WriteUnknownPart ( MemoryStream fs ) : void
WriteVerts ( FileStream fs ) : void
WriteVerts ( MemoryStream fs ) : void
Write_kDOP ( FileStream fs ) : void
Write_kDOP ( MemoryStream fs ) : void
packedNorm ( int off ) : string
sq ( float f ) : float

비공개 메소드들

메소드 설명
Deserialize ( ) : void
RaySphereIntersect ( System.Vector3 p, System.Vector3 d, float r ) : System.Vector2

메소드 상세

ApplyTangents() 공개 메소드

public ApplyTangents ( int edge, System.Vector4 tan, System.Vector4 bitan ) : void
edge int
tan System.Vector4
bitan System.Vector4
리턴 void

CalcTangentSpace() 공개 메소드

public CalcTangentSpace ( ) : void
리턴 void

DeserializeDump() 공개 메소드

public DeserializeDump ( byte raw ) : void
raw byte
리턴 void

DrawMesh() 공개 메소드

public DrawMesh ( Device device ) : void
device Device
리턴 void

Dump() 공개 메소드

public Dump ( ) : byte[]
리턴 byte[]

Export3DS() 공개 메소드

public Export3DS ( lib3ds.Net.Lib3dsFile f, System.Matrix m ) : void
f lib3ds.Net.Lib3dsFile
m System.Matrix
리턴 void

ExportToPsk() 공개 메소드

public ExportToPsk ( ) : PSKFile
리턴 ME3Explorer.Unreal.PSKFile

ExportToPsk() 공개 메소드

public ExportToPsk ( string path ) : void
path string
리턴 void

FloatToHalf() 공개 메소드

public FloatToHalf ( float f ) : UInt16
f float
리턴 System.UInt16

Focus() 공개 메소드

public Focus ( System.Matrix m ) : void
m System.Matrix
리턴 void

GenerateMesh() 공개 메소드

public GenerateMesh ( ) : void
리턴 void

GetMaterial() 공개 메소드

public GetMaterial ( int index ) : byte
index int
리턴 byte

GetSelection() 공개 메소드

public GetSelection ( ) : bool
리턴 bool

HalfToFloat() 공개 메소드

public HalfToFloat ( UInt16 val ) : float
val System.UInt16
리턴 float

ImportFromPsk() 공개 메소드

public ImportFromPsk ( string path ) : void
path string
리턴 void

Process3DClick() 공개 메소드

public Process3DClick ( System.Vector3 org, System.Vector3 dir, System.Matrix m ) : float
org System.Vector3
dir System.Vector3
m System.Matrix
리턴 float

RayIntersectTriangle() 공개 메소드

public RayIntersectTriangle ( System.Vector3 rayPosition, System.Vector3 rayDirection, System.Vector3 tri0, System.Vector3 tri1, System.Vector3 tri2, float &pickDistance ) : bool
rayPosition System.Vector3
rayDirection System.Vector3
tri0 System.Vector3
tri1 System.Vector3
tri2 System.Vector3
pickDistance float
리턴 bool

ReadBoundings() 공개 메소드

public ReadBoundings ( byte memory ) : void
memory byte
리턴 void

ReadBuffers() 공개 메소드

public ReadBuffers ( byte memory ) : void
memory byte
리턴 void

ReadEdges() 공개 메소드

public ReadEdges ( byte memory ) : void
memory byte
리턴 void

ReadEnd() 공개 메소드

public ReadEnd ( byte memory ) : void
memory byte
리턴 void

ReadIndexBuffer() 공개 메소드

public ReadIndexBuffer ( byte memory ) : void
memory byte
리턴 void

ReadMaterials() 공개 메소드

public ReadMaterials ( byte memory ) : void
memory byte
리턴 void

ReadRawTris() 공개 메소드

public ReadRawTris ( byte memory ) : void
memory byte
리턴 void

ReadVerts() 공개 메소드

public ReadVerts ( byte memory ) : void
memory byte
리턴 void

ReadkDOPTree() 공개 메소드

public ReadkDOPTree ( byte memory ) : void
memory byte
리턴 void

ReadkdNodes() 공개 메소드

public ReadkdNodes ( Meshplorer bound, byte memory ) : void
bound Meshplorer
memory byte
리턴 void

RecalculateBoundings() 공개 메소드

public RecalculateBoundings ( ) : void
리턴 void

Render() 공개 메소드

public Render ( Device device, System.Matrix m ) : void
device Device
m System.Matrix
리턴 void

SerializeToBuffer() 공개 메소드

public SerializeToBuffer ( ) : byte[]
리턴 byte[]

SerializeToFile() 공개 메소드

public SerializeToFile ( string path ) : void
path string
리턴 void

SetSelection() 공개 메소드

public SetSelection ( bool Selected ) : void
Selected bool
리턴 void

StaticMesh() 공개 메소드

public StaticMesh ( ) : System
리턴 System

StaticMesh() 공개 메소드

public StaticMesh ( ME3Package Pcc, int Index ) : System
Pcc ME3Package
Index int
리턴 System

ToTree() 공개 메소드

public ToTree ( ) : TreeNode
리턴 System.Windows.Forms.TreeNode

ToTreeShort() 공개 메소드

public ToTreeShort ( ) : TreeNode
리턴 System.Windows.Forms.TreeNode

ToVec3() 공개 메소드

public ToVec3 ( List points ) : List
points List
리턴 List

ToVec3() 공개 메소드

public ToVec3 ( PSKFile p ) : System.Vector3
p ME3Explorer.Unreal.PSKFile
리턴 System.Vector3

ToVec3() 공개 메소드

public ToVec3 ( List points ) : System.Vector3[]
points List
리턴 System.Vector3[]

ToVec3() 공개 메소드

public ToVec3 ( PSKFile points ) : System.Vector3[]
points ME3Explorer.Unreal.PSKFile
리턴 System.Vector3[]

UnknownPart() 공개 메소드

public UnknownPart ( byte memory ) : void
memory byte
리턴 void

WriteBoundaries() 공개 메소드

public WriteBoundaries ( FileStream fs ) : void
fs System.IO.FileStream
리턴 void

WriteBoundaries() 공개 메소드

public WriteBoundaries ( MemoryStream fs ) : void
fs System.IO.MemoryStream
리턴 void

WriteBuffers() 공개 메소드

public WriteBuffers ( FileStream fs ) : void
fs System.IO.FileStream
리턴 void

WriteBuffers() 공개 메소드

public WriteBuffers ( MemoryStream fs ) : void
fs System.IO.MemoryStream
리턴 void

WriteEdges() 공개 메소드

public WriteEdges ( FileStream fs ) : void
fs System.IO.FileStream
리턴 void

WriteEdges() 공개 메소드

public WriteEdges ( MemoryStream fs ) : void
fs System.IO.MemoryStream
리턴 void

WriteEnd() 공개 메소드

public WriteEnd ( FileStream fs ) : void
fs System.IO.FileStream
리턴 void

WriteEnd() 공개 메소드

public WriteEnd ( MemoryStream fs ) : void
fs System.IO.MemoryStream
리턴 void

WriteIndexBuffers() 공개 메소드

public WriteIndexBuffers ( FileStream fs ) : void
fs System.IO.FileStream
리턴 void

WriteIndexBuffers() 공개 메소드

public WriteIndexBuffers ( MemoryStream fs ) : void
fs System.IO.MemoryStream
리턴 void

WriteMaterials() 공개 메소드

public WriteMaterials ( FileStream fs ) : void
fs System.IO.FileStream
리턴 void

WriteMaterials() 공개 메소드

public WriteMaterials ( MemoryStream fs ) : void
fs System.IO.MemoryStream
리턴 void

WriteProperties() 공개 메소드

public WriteProperties ( MemoryStream fs ) : void
fs System.IO.MemoryStream
리턴 void

WriteTriangles() 공개 메소드

public WriteTriangles ( FileStream fs ) : void
fs System.IO.FileStream
리턴 void

WriteTriangles() 공개 메소드

public WriteTriangles ( MemoryStream fs ) : void
fs System.IO.MemoryStream
리턴 void

WriteUnknownPart() 공개 메소드

public WriteUnknownPart ( FileStream fs ) : void
fs System.IO.FileStream
리턴 void

WriteUnknownPart() 공개 메소드

public WriteUnknownPart ( MemoryStream fs ) : void
fs System.IO.MemoryStream
리턴 void

WriteVerts() 공개 메소드

public WriteVerts ( FileStream fs ) : void
fs System.IO.FileStream
리턴 void

WriteVerts() 공개 메소드

public WriteVerts ( MemoryStream fs ) : void
fs System.IO.MemoryStream
리턴 void

Write_kDOP() 공개 메소드

public Write_kDOP ( FileStream fs ) : void
fs System.IO.FileStream
리턴 void

Write_kDOP() 공개 메소드

public Write_kDOP ( MemoryStream fs ) : void
fs System.IO.MemoryStream
리턴 void

packedNorm() 공개 메소드

public packedNorm ( int off ) : string
off int
리턴 string

sq() 공개 메소드

public sq ( float f ) : float
f float
리턴 float

프로퍼티 상세

Mesh 공개적으로 프로퍼티

public MeshStruct Mesh
리턴 MeshStruct

MyName 공개적으로 프로퍼티

public string MyName
리턴 string

RawTriangles 공개적으로 프로퍼티

public List RawTriangles
리턴 List

Vertices 공개적으로 프로퍼티

public List Vertices
리턴 List

index 공개적으로 프로퍼티

public int index
리턴 int

isSelected 공개적으로 프로퍼티

public bool isSelected
리턴 bool

isVolumetric 공개적으로 프로퍼티

public bool isVolumetric
리턴 bool

kdNodes 공개적으로 프로퍼티

public List kdNodes
리턴 List

memory 공개적으로 프로퍼티

public byte[] memory
리턴 byte[]

memsize 공개적으로 프로퍼티

public int memsize
리턴 int

pcc 공개적으로 프로퍼티

public ME3Package pcc
리턴 ME3Package

props 공개적으로 프로퍼티

public List props
리턴 List

psk 공개적으로 프로퍼티

public PSKFile,ME3Explorer.Unreal psk
리턴 ME3Explorer.Unreal.PSKFile

readerpos 공개적으로 프로퍼티

public int readerpos
리턴 int