C# Class OpenSim.Region.Physics.Meshing.Meshmerizer

Inheritance: IMesher
Mostra file Open project: N3X15/VoxelSim Class Usage Examples

Public Methods

Method Description
CreateMesh ( String primName, OpenSim.Framework.PrimitiveBaseShape primShape, System.Vector3 size, float lod ) : IMesh
CreateMesh ( String primName, OpenSim.Framework.PrimitiveBaseShape primShape, System.Vector3 size, float lod, bool isPhysical ) : IMesh
Meshmerizer ( IConfigSource config ) : System

Private Methods

Method Description
CreateBoundingBoxMesh ( OpenSim.Region.Physics.Meshing.Mesh meshIn ) : OpenSim.Region.Physics.Meshing.Mesh

Creates a simple bounding box mesh for a complex input mesh

CreateMeshFromPrimMesher ( string primName, OpenSim.Framework.PrimitiveBaseShape primShape, System.Vector3 size, float lod ) : OpenSim.Region.Physics.Meshing.Mesh
CreateSimpleBoxMesh ( float minX, float maxX, float minY, float maxY, float minZ, float maxZ ) : OpenSim.Region.Physics.Meshing.Mesh

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

GetMeshKey ( OpenSim.Framework.PrimitiveBaseShape pbs, System.Vector3 size, float lod ) : ulong
ReportPrimError ( string message, string primName, PrimMesher.PrimMesh primMesh ) : void
djb2 ( ulong hash, byte c ) : ulong
djb2 ( ulong hash, ushort c ) : ulong

Method Details

CreateMesh() public method

public CreateMesh ( String primName, OpenSim.Framework.PrimitiveBaseShape primShape, System.Vector3 size, float lod ) : IMesh
primName String
primShape OpenSim.Framework.PrimitiveBaseShape
size System.Vector3
lod float
return IMesh

CreateMesh() public method

public CreateMesh ( String primName, OpenSim.Framework.PrimitiveBaseShape primShape, System.Vector3 size, float lod, bool isPhysical ) : IMesh
primName String
primShape OpenSim.Framework.PrimitiveBaseShape
size System.Vector3
lod float
isPhysical bool
return IMesh

Meshmerizer() public method

public Meshmerizer ( IConfigSource config ) : System
config IConfigSource
return System