PlayCanvasSceneCreator 1.0.9
|
Public Types | |
enum | LightType { directional , spot , point } |
Public Attributes | |
bool | castShadows |
| |
bool | isStatic = false |
| |
bool | enabled |
float | range = 8 |
| |
float[] | color |
| |
float | outerConeAngle = 45 |
| |
bool | affectDynamic = true |
| |
float | intensity |
| |
float | innerConeAngle = 40 |
| |
int? | cookieAsset = null |
| |
int | shadowResolution = 1024 |
| |
string | type |
| |
int[] | layers = new int[] { 0 } |
| |
bool Playcanvas.Properties.Light.affectDynamic = true |
set true if lightmapBakeType is not Baked
bool Playcanvas.Properties.Light.castShadows |
if shadows is not LightShadows.None then castShadows set true
int Playcanvas.Properties.Light.shadowResolution = 1024 |
Low : 256
Medium : 512
High : 1024
VeryHigh : 2048
string Playcanvas.Properties.Light.type |
case UnityProperties.UnityEngine.LightType.Point to omni
case UnityProperties.UnityEngine.LightType.Spot to spot
others cases to directional