This page has been translated automatically.
UnigineScript
The Language
Core Library
Engine Library
Node-Related Classes
GUI-Related Classes
Plugins Library
High-Level Systems
Samples
Usage Examples
C++ API
API Reference
Integration Samples
Usage Examples
C++ Plugins
Migration
Migrating to UNIGINE 2.0
C++ API Migration
Migrating from UNIGINE 2.0 to UNIGINE 2.1
Warning! This version of documentation is OUTDATED, as it describes an older SDK version! Please switch to the documentation for the latest SDK version.
Warning! This version of documentation describes an old SDK version which is no longer supported! Please upgrade to the latest SDK version.

Lights-Related Classes

The following lights-related classes have been deleted:

  • LightProb
  • LightSpot

The new LightEnvironmentProbe class has been added.

Light Class

UNIGINEUNIGINE 2
void setDeferred(int deferred)Removed
int isDeferred()Removed
void setDiffuseScale(float scale)Removed
float getDiffuseScale()Removed
void setNormalScale(float scale)Removed
float getNormalScale()Removed
void setSpecularScale(float scale)Removed
float getSpecularScale()Removed
void setSpecularPower(float power)Removed
float getSpecularPower()Removed
void setTranslucent(int mode)Removed
int getTranslucent()Removed
void setTranslucentSize(int size)Removed
int getTranslucentSize()Removed
void setShadowAmbient(float factor)Removed
float getShadowAmbient()Removed
void setTranslucentBias(float offset)Removed
float getTranslucentBias()Removed
void setDeferredDistance(float distance)Removed
float getDeferredDistance()Removed
Last update: 2017-07-03
Build: ()