12PointLightComponent::PointLightComponent(SceneGraphNode* sgn, PlatformContext& context)
14 Light(sgn, 20.0f,
LightType::
POINT, *sgn->sceneGraph()->parentScene().lightPool())
16 _shadowProperties._lightDetails.z = 0.025f;
18 registerFields(editorComponent());
23 Attorney::SceneNodeLightComponent::setBounds(sgn->getNode(), bb);
25 _directionCache.set(VECTOR3_ZERO);
29 SGNComponent::OnData(data);
34 const SceneGraphNode::Flags flag =
static_cast<SceneGraphNode::Flags
>(data.
_flag);
35 if (flag == SceneGraphNode::Flags::SELECTED) {
Handle console commands that start with a forward slash.
SGNComponent::Registrar< T, C > BaseComponentType
LightType
The different types of lights supported.