Lysa.nodes  0.0
Lysa 3D Engine
Environment Class Referenceabstract

Detailed Description

A node that sets the ambient light for its scene.

Inherits from: Node

Lua full name: lysa.nodes.Environment

Public Member Functions

Environment create (env: lysa.float4)static
 Creates an Environment node with the given ambient color and intensity (xyz = RGB, w = intensity). More...
 

Properties

lysa.float4 ambient_color_and_intensity
 Ambient light color and intensity (xyz = linear RGB color, w = intensity scalar).
 

Member Function Documentation

Environment create ( lysa.float4  env)
static

Creates an Environment node with the given ambient color and intensity (xyz = RGB, w = intensity).

Parameters
envlysa.float4
Returns
Environment

Property Documentation

lysa.float4 ambient_color_and_intensity

Ambient light color and intensity (xyz = linear RGB color, w = intensity scalar).