Maria GDK 5.0.0.738
Documentation of native code in develop branch
Loading...
Searching...
No Matches
STK::Light Class Reference

#include <StkLight.h>

Public Member Functions

 Light (const STK::Vector3f &light_dir)
 
const STK::Vector3fgetLightDirection () const
 Get direction towards the light.
 
void setLightDirection (const STK::Vector3f &light_dir)
 

Public Attributes

STK::Vector3f light_dir_
 

Detailed Description

Light - Simple light source.

Member Function Documentation

◆ setLightDirection()

void STK::Light::setLightDirection ( const STK::Vector3f light_dir)
inline

Set direction towards the light.

Note
This vector should be normalized.

The documentation for this class was generated from the following files: