29 using System.Collections.Generic;
30 using System.Runtime.InteropServices;
31 using OpenSim.Framework;
34 namespace OpenSim.
Region.PhysicsModules.SharedBase
41 IMesh CreateMesh(String primName,
PrimitiveBaseShape primShape, Vector3 size,
float lod,
bool isPhysical,
bool shouldCache,
bool convex,
bool forOde);
42 IMesh GetMesh(String primName,
PrimitiveBaseShape primShape, Vector3 size,
float lod,
bool isPhysical,
bool convex);
43 void ReleaseMesh(
IMesh mesh);
44 void ExpireReleaseMeshs();
45 void ExpireFileCache();
64 [StructLayout(LayoutKind.Explicit)]
78 return uuid.ToString() +
"-" + hashC.ToString(
"x") ;
84 List<Vector3> getVertexList();
85 int[] getIndexListAsInt();
86 int[] getIndexListAsIntLocked();
87 float[] getVertexListAsFloat();
88 float[] getVertexListAsFloatLocked();
89 void getIndexListAsPtrToIntArray(out IntPtr indices, out
int triStride, out
int indexCount);
90 void getVertexListAsPtrToFloatArray(out IntPtr vertexList, out
int vertexStride, out
int vertexCount);
91 void releaseSourceMeshData();
93 void Append(
IMesh newMesh);
94 void TransformLinear(
float[,] matrix,
float[] offset);
95 Vector3 GetCentroid();
override string ToString()