C# Class ME3Explorer.Unreal.Classes.StaticMesh

Afficher le fichier Open project: ME3Explorer/ME3Explorer Class Usage Examples

Méthodes publiques

Свойство Type Description
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

Méthodes publiques

Méthode Description
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

Private Methods

Méthode Description
Deserialize ( ) : void
RaySphereIntersect ( System.Vector3 p, System.Vector3 d, float r ) : System.Vector2

Method Details

ApplyTangents() public méthode

public ApplyTangents ( int edge, System.Vector4 tan, System.Vector4 bitan ) : void
edge int
tan System.Vector4
bitan System.Vector4
Résultat void

CalcTangentSpace() public méthode

public CalcTangentSpace ( ) : void
Résultat void

DeserializeDump() public méthode

public DeserializeDump ( byte raw ) : void
raw byte
Résultat void

DrawMesh() public méthode

public DrawMesh ( Device device ) : void
device Device
Résultat void

Dump() public méthode

public Dump ( ) : byte[]
Résultat byte[]

Export3DS() public méthode

public Export3DS ( lib3ds.Net.Lib3dsFile f, System.Matrix m ) : void
f lib3ds.Net.Lib3dsFile
m System.Matrix
Résultat void

ExportToPsk() public méthode

public ExportToPsk ( ) : PSKFile
Résultat ME3Explorer.Unreal.PSKFile

ExportToPsk() public méthode

public ExportToPsk ( string path ) : void
path string
Résultat void

FloatToHalf() public méthode

public FloatToHalf ( float f ) : UInt16
f float
Résultat System.UInt16

Focus() public méthode

public Focus ( System.Matrix m ) : void
m System.Matrix
Résultat void

GenerateMesh() public méthode

public GenerateMesh ( ) : void
Résultat void

GetMaterial() public méthode

public GetMaterial ( int index ) : byte
index int
Résultat byte

GetSelection() public méthode

public GetSelection ( ) : bool
Résultat bool

HalfToFloat() public méthode

public HalfToFloat ( UInt16 val ) : float
val System.UInt16
Résultat float

ImportFromPsk() public méthode

public ImportFromPsk ( string path ) : void
path string
Résultat void

Process3DClick() public méthode

public Process3DClick ( System.Vector3 org, System.Vector3 dir, System.Matrix m ) : float
org System.Vector3
dir System.Vector3
m System.Matrix
Résultat float

RayIntersectTriangle() public méthode

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
Résultat bool

ReadBoundings() public méthode

public ReadBoundings ( byte memory ) : void
memory byte
Résultat void

ReadBuffers() public méthode

public ReadBuffers ( byte memory ) : void
memory byte
Résultat void

ReadEdges() public méthode

public ReadEdges ( byte memory ) : void
memory byte
Résultat void

ReadEnd() public méthode

public ReadEnd ( byte memory ) : void
memory byte
Résultat void

ReadIndexBuffer() public méthode

public ReadIndexBuffer ( byte memory ) : void
memory byte
Résultat void

ReadMaterials() public méthode

public ReadMaterials ( byte memory ) : void
memory byte
Résultat void

ReadRawTris() public méthode

public ReadRawTris ( byte memory ) : void
memory byte
Résultat void

ReadVerts() public méthode

public ReadVerts ( byte memory ) : void
memory byte
Résultat void

ReadkDOPTree() public méthode

public ReadkDOPTree ( byte memory ) : void
memory byte
Résultat void

ReadkdNodes() public méthode

public ReadkdNodes ( Meshplorer bound, byte memory ) : void
bound Meshplorer
memory byte
Résultat void

RecalculateBoundings() public méthode

public RecalculateBoundings ( ) : void
Résultat void

Render() public méthode

public Render ( Device device, System.Matrix m ) : void
device Device
m System.Matrix
Résultat void

SerializeToBuffer() public méthode

public SerializeToBuffer ( ) : byte[]
Résultat byte[]

SerializeToFile() public méthode

public SerializeToFile ( string path ) : void
path string
Résultat void

SetSelection() public méthode

public SetSelection ( bool Selected ) : void
Selected bool
Résultat void

StaticMesh() public méthode

public StaticMesh ( ) : System
Résultat System

StaticMesh() public méthode

public StaticMesh ( ME3Package Pcc, int Index ) : System
Pcc ME3Package
Index int
Résultat System

ToTree() public méthode

public ToTree ( ) : TreeNode
Résultat System.Windows.Forms.TreeNode

ToTreeShort() public méthode

public ToTreeShort ( ) : TreeNode
Résultat System.Windows.Forms.TreeNode

ToVec3() public méthode

public ToVec3 ( List points ) : List
points List
Résultat List

ToVec3() public méthode

public ToVec3 ( PSKFile p ) : System.Vector3
p ME3Explorer.Unreal.PSKFile
Résultat System.Vector3

ToVec3() public méthode

public ToVec3 ( List points ) : System.Vector3[]
points List
Résultat System.Vector3[]

ToVec3() public méthode

public ToVec3 ( PSKFile points ) : System.Vector3[]
points ME3Explorer.Unreal.PSKFile
Résultat System.Vector3[]

UnknownPart() public méthode

public UnknownPart ( byte memory ) : void
memory byte
Résultat void

WriteBoundaries() public méthode

public WriteBoundaries ( FileStream fs ) : void
fs System.IO.FileStream
Résultat void

WriteBoundaries() public méthode

public WriteBoundaries ( MemoryStream fs ) : void
fs System.IO.MemoryStream
Résultat void

WriteBuffers() public méthode

public WriteBuffers ( FileStream fs ) : void
fs System.IO.FileStream
Résultat void

WriteBuffers() public méthode

public WriteBuffers ( MemoryStream fs ) : void
fs System.IO.MemoryStream
Résultat void

WriteEdges() public méthode

public WriteEdges ( FileStream fs ) : void
fs System.IO.FileStream
Résultat void

WriteEdges() public méthode

public WriteEdges ( MemoryStream fs ) : void
fs System.IO.MemoryStream
Résultat void

WriteEnd() public méthode

public WriteEnd ( FileStream fs ) : void
fs System.IO.FileStream
Résultat void

WriteEnd() public méthode

public WriteEnd ( MemoryStream fs ) : void
fs System.IO.MemoryStream
Résultat void

WriteIndexBuffers() public méthode

public WriteIndexBuffers ( FileStream fs ) : void
fs System.IO.FileStream
Résultat void

WriteIndexBuffers() public méthode

public WriteIndexBuffers ( MemoryStream fs ) : void
fs System.IO.MemoryStream
Résultat void

WriteMaterials() public méthode

public WriteMaterials ( FileStream fs ) : void
fs System.IO.FileStream
Résultat void

WriteMaterials() public méthode

public WriteMaterials ( MemoryStream fs ) : void
fs System.IO.MemoryStream
Résultat void

WriteProperties() public méthode

public WriteProperties ( MemoryStream fs ) : void
fs System.IO.MemoryStream
Résultat void

WriteTriangles() public méthode

public WriteTriangles ( FileStream fs ) : void
fs System.IO.FileStream
Résultat void

WriteTriangles() public méthode

public WriteTriangles ( MemoryStream fs ) : void
fs System.IO.MemoryStream
Résultat void

WriteUnknownPart() public méthode

public WriteUnknownPart ( FileStream fs ) : void
fs System.IO.FileStream
Résultat void

WriteUnknownPart() public méthode

public WriteUnknownPart ( MemoryStream fs ) : void
fs System.IO.MemoryStream
Résultat void

WriteVerts() public méthode

public WriteVerts ( FileStream fs ) : void
fs System.IO.FileStream
Résultat void

WriteVerts() public méthode

public WriteVerts ( MemoryStream fs ) : void
fs System.IO.MemoryStream
Résultat void

Write_kDOP() public méthode

public Write_kDOP ( FileStream fs ) : void
fs System.IO.FileStream
Résultat void

Write_kDOP() public méthode

public Write_kDOP ( MemoryStream fs ) : void
fs System.IO.MemoryStream
Résultat void

packedNorm() public méthode

public packedNorm ( int off ) : string
off int
Résultat string

sq() public méthode

public sq ( float f ) : float
f float
Résultat float

Property Details

Mesh public_oe property

public MeshStruct Mesh
Résultat MeshStruct

MyName public_oe property

public string MyName
Résultat string

RawTriangles public_oe property

public List RawTriangles
Résultat List

Vertices public_oe property

public List Vertices
Résultat List

index public_oe property

public int index
Résultat int

isSelected public_oe property

public bool isSelected
Résultat bool

isVolumetric public_oe property

public bool isVolumetric
Résultat bool

kdNodes public_oe property

public List kdNodes
Résultat List

memory public_oe property

public byte[] memory
Résultat byte[]

memsize public_oe property

public int memsize
Résultat int

pcc public_oe property

public ME3Package pcc
Résultat ME3Package

props public_oe property

public List props
Résultat List

psk public_oe property

public PSKFile,ME3Explorer.Unreal psk
Résultat ME3Explorer.Unreal.PSKFile

readerpos public_oe property

public int readerpos
Résultat int