| 13 | class Tr2RaytracingMeshArea; |
| 14 | |
| 15 | BLUE_CLASS( Tr2MeshArea ) : |
| 16 | public IRoot |
| 17 | { |
| 18 | public: |
| 19 | Tr2MeshArea( IRoot* lockobj = 0 ); |
| 20 | ~Tr2MeshArea(); |
| 21 | |
| 22 | Tr2MeshArea& operator=( const Tr2MeshArea& other ); |
| 23 | |
| 24 | const std::string& GetName() const; |
| 25 | void SetName( const std::string& name ); |
| 26 | |
| 27 | int GetIndex() const; |
| 28 | void SetIndex( int ix ); |
| 29 | |
| 30 | int GetCount() const; |
| 31 | void SetCount( int n ); |
| 32 | |
| 33 | bool GetReversed() const; |
| 34 | void SetReversed( bool reversed ); |
| 35 | |
| 36 | bool GetDisplay() const; |
| 37 | void SetDisplay( bool display ); |
| 38 | |
| 39 | bool IsCastingShadows() const; |
| 40 | void SetCastsShadows( bool castShadows ); |
| 41 | |
| 42 | bool GetGenerateDepthArea() const; |
| 43 | void SetGenerateDepthArea( bool generate ); |
| 44 | |
| 45 | bool GetUseSHLighting() const; |
| 46 | |
| 47 | void SetMaterial( Tr2EffectPtr mat ); |
| 48 | |
| 49 | Tr2Effect* GetMaterialInterface() const; |
| 50 | |
| 51 | unsigned int GetJointCount() const; |
| 52 | void SetJointCount( unsigned int val ); |
| 53 | |
| 54 | void AddOwnerMesh( Tr2MeshBase * mesh ); |
| 55 | void RemoveOwnerMesh( Tr2MeshBase * mesh ); |
| 56 | |
| 57 | bool HasVertexBufferAccessInRtShadow(); |
| 58 | |
| 59 | unsigned int* GetJointMappingAnimRig() const; |
| 60 | |
| 61 | // the provided array is NOT owned by this instance, it is owned by the parent mesh! |
| 62 | // each mesharea gets a pointer on the same array |
| 63 | void SetJointMappingAnimRig( unsigned int* val ); |
| 64 | |
| 65 | bool IsReversed() const; |
| 66 | |
| 67 | Tr2Lod GetMinLod() const; |
| 68 | void SetMinLod( Tr2Lod lod ); |
| 69 | |
| 70 | Tr2RaytracingMeshArea* GetOrCreateRtMeshArea(); |
| 71 | Tr2RaytracingMeshArea* GetRtMeshArea() const; |
| 72 |
nothing calls this directly
no test coverage detected