C# Класс OpenMetaverse.Rendering.MeshmerizerR

Наследование: OpenMetaverse.Rendering.IRendering
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
GenerateFacetedMesh ( OpenMetaverse prim, OpenMetaverse.Rendering lod ) : FacetedMesh

Generates a a series of faces, each face containing a mesh and metadata

GenerateFacetedSculptMesh ( OpenMetaverse prim, System scupltTexture, OpenMetaverse.Rendering lod ) : FacetedMesh

Create a sculpty faceted mesh. The actual scuplt texture is fetched and passed to this routine since all the context for finding teh texture is elsewhere.

GenerateSimpleMesh ( OpenMetaverse prim, OpenMetaverse.Rendering lod ) : SimpleMesh

Generates a basic mesh structure from a primitive

GenerateSimpleSculptMesh ( OpenMetaverse prim, System sculptTexture, OpenMetaverse.Rendering lod ) : SimpleMesh

Generates a basic mesh structure from a sculpted primitive

TransformTexCoords ( List vertices, OpenMetaverse center, OpenMetaverse teFace ) : void

Apply texture coordinate modifications from a TextureEntryFace to a list of vertices

Приватные методы

Метод Описание
GeneratePrimMesh ( Primitive prim, DetailLevel lod, bool viewerMode ) : PrimMesher.PrimMesh

Описание методов

GenerateFacetedMesh() публичный Метод

Generates a a series of faces, each face containing a mesh and metadata
public GenerateFacetedMesh ( OpenMetaverse prim, OpenMetaverse.Rendering lod ) : FacetedMesh
prim OpenMetaverse Primitive to generate the mesh from
lod OpenMetaverse.Rendering Level of detail to generate the mesh at
Результат FacetedMesh

GenerateFacetedSculptMesh() публичный Метод

Create a sculpty faceted mesh. The actual scuplt texture is fetched and passed to this routine since all the context for finding teh texture is elsewhere.
public GenerateFacetedSculptMesh ( OpenMetaverse prim, System scupltTexture, OpenMetaverse.Rendering lod ) : FacetedMesh
prim OpenMetaverse
scupltTexture System
lod OpenMetaverse.Rendering
Результат FacetedMesh

GenerateSimpleMesh() публичный Метод

Generates a basic mesh structure from a primitive
public GenerateSimpleMesh ( OpenMetaverse prim, OpenMetaverse.Rendering lod ) : SimpleMesh
prim OpenMetaverse Primitive to generate the mesh from
lod OpenMetaverse.Rendering Level of detail to generate the mesh at
Результат SimpleMesh

GenerateSimpleSculptMesh() публичный Метод

Generates a basic mesh structure from a sculpted primitive
public GenerateSimpleSculptMesh ( OpenMetaverse prim, System sculptTexture, OpenMetaverse.Rendering lod ) : SimpleMesh
prim OpenMetaverse Sculpted primitive to generate the mesh from
sculptTexture System Sculpt texture
lod OpenMetaverse.Rendering Level of detail to generate the mesh at
Результат SimpleMesh

TransformTexCoords() публичный Метод

Apply texture coordinate modifications from a TextureEntryFace to a list of vertices
public TransformTexCoords ( List vertices, OpenMetaverse center, OpenMetaverse teFace ) : void
vertices List Vertex list to modify texture coordinates for
center OpenMetaverse Center-point of the face
teFace OpenMetaverse Face texture parameters
Результат void