| 363 | } |
| 364 | |
| 365 | void SceneObject::setTextureName(std::string_view _name) |
| 366 | { |
| 367 | mTextureName = _name; |
| 368 | |
| 369 | if (mTextureUnit != nullptr) |
| 370 | { |
| 371 | mTextureUnit->setTextureName(mTextureName); |
| 372 | } |
| 373 | } |
| 374 | |
| 375 | bool SceneObject::pickPositionInObject( |
| 376 | int& _x, |