C# 클래스 OpenSim.Region.Physics.Meshing.Meshmerizer

상속: IMesher
파일 보기 프로젝트 열기: N3X15/VoxelSim 1 사용 예제들

공개 메소드들

메소드 설명
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

비공개 메소드들

메소드 설명
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

메소드 상세

CreateMesh() 공개 메소드

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
리턴 IMesh

CreateMesh() 공개 메소드

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
리턴 IMesh

Meshmerizer() 공개 메소드

public Meshmerizer ( IConfigSource config ) : System
config IConfigSource
리턴 System