C# 클래스 Universe.Physics.Meshing.Mesh

상속: IMesh
파일 보기 프로젝트 열기: Virtual-Universe/Virtual-Universe 1 사용 예제들

공개 메소드들

메소드 설명
Deserialize ( OpenMetaverse.StructuredData.OSD cachedMesh ) : void
GetCentroid ( ) : System.Vector3
Mesh ( ulong key ) : System
Serialize ( ) : OpenMetaverse.StructuredData.OSD
Set ( List vertices, List faces ) : void
getIndexListAsInt ( ) : int[]
getIndexListAsPtrToIntArray ( IntPtr &indices, int &triStride, int &indexCount ) : void
getVertexListAsFloat ( ) : float[]
getVertexListAsPtrToFloatArray ( IntPtr &vertices, int &vertexStride, int &vertexCount ) : void
releasePinned ( ) : void
releaseSourceMeshData ( ) : void

frees up the source mesh data to minimize memory - call this method after calling get*Locked() functions

setIndexListAsInt ( List faces ) : void

비공개 메소드들

메소드 설명
setVertexListAsFloat ( List coords ) : void

메소드 상세

Deserialize() 공개 메소드

public Deserialize ( OpenMetaverse.StructuredData.OSD cachedMesh ) : void
cachedMesh OpenMetaverse.StructuredData.OSD
리턴 void

GetCentroid() 공개 메소드

public GetCentroid ( ) : System.Vector3
리턴 System.Vector3

Mesh() 공개 메소드

public Mesh ( ulong key ) : System
key ulong
리턴 System

Serialize() 공개 메소드

public Serialize ( ) : OpenMetaverse.StructuredData.OSD
리턴 OpenMetaverse.StructuredData.OSD

Set() 공개 메소드

public Set ( List vertices, List faces ) : void
vertices List
faces List
리턴 void

getIndexListAsInt() 공개 메소드

public getIndexListAsInt ( ) : int[]
리턴 int[]

getIndexListAsPtrToIntArray() 공개 메소드

public getIndexListAsPtrToIntArray ( IntPtr &indices, int &triStride, int &indexCount ) : void
indices System.IntPtr
triStride int
indexCount int
리턴 void

getVertexListAsFloat() 공개 메소드

public getVertexListAsFloat ( ) : float[]
리턴 float[]

getVertexListAsPtrToFloatArray() 공개 메소드

public getVertexListAsPtrToFloatArray ( IntPtr &vertices, int &vertexStride, int &vertexCount ) : void
vertices System.IntPtr
vertexStride int
vertexCount int
리턴 void

releasePinned() 공개 메소드

public releasePinned ( ) : void
리턴 void

releaseSourceMeshData() 공개 메소드

frees up the source mesh data to minimize memory - call this method after calling get*Locked() functions
public releaseSourceMeshData ( ) : void
리턴 void

setIndexListAsInt() 공개 메소드

public setIndexListAsInt ( List faces ) : void
faces List
리턴 void