| 107 | } |
| 108 | |
| 109 | LightData EveSOFDataMgr::PointLightAttachment::AsLightData( Color& color, float scale ) const |
| 110 | { |
| 111 | LightData data; |
| 112 | data.color = color; |
| 113 | data.position = this->translation; |
| 114 | data.rotation = this->rotation; |
| 115 | data.radius = this->outerScaleMultiplier * scale; |
| 116 | data.innerRadius = this->innerScaleMultiplier * scale; |
| 117 | |
| 118 | data.brightness = this->intensity; |
| 119 | data.noiseAmplitude = this->noiseAmplitude; |
| 120 | data.noiseFrequency = this->noiseFrequency; |
| 121 | data.noiseOctaves = this->noiseOctaves; |
| 122 | return data; |
| 123 | } |
| 124 | |
| 125 | EveSOFDataMgr::SpotLightAttachment::SpotLightAttachment( const EveSOFDataSpotLightAttachment& light ) |
| 126 | { |
no outgoing calls
no test coverage detected