| 211 | } |
| 212 | |
| 213 | static float GetLightIntensity(pxr::HdSceneDelegate& SceneDelegate, const pxr::SdfPath& Id) |
| 214 | { |
| 215 | float Intensity = 1; |
| 216 | |
| 217 | const pxr::VtValue IntensityVal = SceneDelegate.GetLightParamValue(Id, pxr::HdLightTokens->intensity); |
| 218 | if (IntensityVal.IsHolding<float>()) |
| 219 | { |
| 220 | Intensity = IntensityVal.Get<float>(); |
| 221 | } |
| 222 | |
| 223 | return Intensity; |
| 224 | } |
| 225 | |
| 226 | static float GetLightExposedPower(pxr::HdSceneDelegate& SceneDelegate, const pxr::SdfPath& Id) |
| 227 | { |
no test coverage detected