| 41 | } |
| 42 | |
| 43 | void LightProbeObject::SetScriptParams(const ScriptParamMap& spm) { |
| 44 | Object::SetScriptParams(spm); |
| 45 | if (scenegraph_) { |
| 46 | bool negative = (GetScriptParams()->ASGetInt("Negative") == 1); |
| 47 | bool success = scenegraph_->light_probe_collection.SetNegative(probe_id_, negative); |
| 48 | LOG_ASSERT(success); |
| 49 | } |
| 50 | } |
| 51 | |
| 52 | void LightProbeObject::Moved(Object::MoveType type) { |
| 53 | Object::Moved(type); |
nothing calls this directly
no test coverage detected