| 262 | } |
| 263 | |
| 264 | bool Tr2Mesh::IsBakedMorph( int index ) const |
| 265 | { |
| 266 | if( !GetGeometryResource() ) |
| 267 | { |
| 268 | return false; |
| 269 | } |
| 270 | |
| 271 | auto mesh = GetGeometryResource()->GetMeshLod( GetMeshIndex(), 0 ); |
| 272 | |
| 273 | if( !mesh ) |
| 274 | { |
| 275 | return false; |
| 276 | } |
| 277 | |
| 278 | return mesh->m_isBakedMorphTarget[index]; |
| 279 | } |
| 280 | |
| 281 | void Tr2Mesh::SetMorphTargetWeight( const char* name, float weight ) |
| 282 | { |
no test coverage detected