Method | Description | |
---|---|---|
CreateMesh ( string primName, PrimitiveBaseShape primShape, System.Vector3 size, float lod, bool isPhysical, bool shouldCache ) : IMesh | ||
GetBoundingHull ( System.Vector3 size ) : List |
temporary prototype code - please do not use until the interface has been finalized!
|
|
GetConvexHulls ( System.Vector3 size ) : List
|
temporary prototype code - please do not use until the interface has been finalized!
|
|
Meshmerizer ( IConfigSource config, IRegistryCore registry ) : System |
Method | Description | |
---|---|---|
AddSubMesh ( OSDMap subMeshMap, System.Vector3 size, List |
Add a submesh to an existing list of coords and faces.
|
|
CreateBoundingBoxMesh ( System.Vector3 size, ulong key ) : |
Creates a simple bounding box mesh for a complex input mesh
|
|
CreateMeshFromPrimMesher ( string primName, PrimitiveBaseShape primShape, System.Vector3 size, float lod, ulong key ) : |
Create a physics mesh from data that comes with the prim. The actual data used depends on the prim type.
|
|
CreateSimpleBoxMesh ( float minX, float maxX, float minY, float maxY, float minZ, float maxZ, ulong key ) : |
creates a simple box mesh of the specified size. This mesh is of very low vertex count and may be useful as a backup proxy when level of detail is not needed or when more complex meshes fail for some reason
|
|
DecompressOsd ( byte meshBytes ) : OSD |
decompresses a gzipped OSD object
|
|
GenerateFromPrimMeshData ( string primName, PrimitiveBaseShape primShape, System.Vector3 size, ulong key ) : |
Generate a mesh from the mesh data the accompanies a prim.
|
|
GenerateFromPrimSculptData ( string primName, PrimitiveBaseShape primShape, System.Vector3 size, float lod, ulong key ) : |
Generate a mesh from the sculpt data the accompanies a prim.
|
|
GenerateFromPrimShapeData ( string primName, PrimitiveBaseShape primShape, System.Vector3 size, float lod, ulong key ) : |
Generate a mesh from the shape data the accompanies a prim.
|
|
GetLevelOfDetail ( float lod ) : int |
Gets the level of detail for circles.
|
|
ReportPrimError ( string message, string primName, PrimMesh primMesh ) : void |
public CreateMesh ( string primName, PrimitiveBaseShape primShape, System.Vector3 size, float lod, bool isPhysical, bool shouldCache ) : IMesh | ||
primName | string | |
primShape | PrimitiveBaseShape | |
size | System.Vector3 | |
lod | float | |
isPhysical | bool | |
shouldCache | bool | |
return | IMesh |
public GetBoundingHull ( System.Vector3 size ) : List |
||
size | System.Vector3 | value to scale the hull points by |
return | List |
public GetConvexHulls ( System.Vector3 size ) : List
|
||
size | System.Vector3 | value to scale the hull points by |
return | List
|
public Meshmerizer ( IConfigSource config, IRegistryCore registry ) : System | ||
config | IConfigSource | |
registry | IRegistryCore | |
return | System |