Added Light::SetLightType
Former-commit-id: 8f55cd7b3941496e97795ca920c7a657e555eeab
This commit is contained in:
parent
96974a9d2b
commit
1a561e42ff
|
|
@ -43,6 +43,7 @@ class NAZARA_API NzLight : public NzSceneNode
|
|||
void SetColor(const NzColor& color);
|
||||
void SetDiffuseFactor(float factor);
|
||||
void SetInnerAngle(float innerAngle);
|
||||
void SetLightType(nzLightType type);
|
||||
void SetOuterAngle(float outerAngle);
|
||||
void SetRadius(float radius);
|
||||
|
||||
|
|
|
|||
|
|
@ -206,6 +206,11 @@ void NzLight::SetInnerAngle(float innerAngle)
|
|||
m_innerAngle = innerAngle;
|
||||
}
|
||||
|
||||
void NzLight::SetLightType(nzLightType type)
|
||||
{
|
||||
m_type = type;
|
||||
}
|
||||
|
||||
void NzLight::SetOuterAngle(float outerAngle)
|
||||
{
|
||||
m_outerAngle = outerAngle;
|
||||
|
|
|
|||
Loading…
Reference in New Issue