Introduction

The Environment component allows you to set environmental properties and execute a series of useful commands.

Property

Property Type Description
Skybox - The skybox of the world
Light Intensity Float The intensity of light. The higer the value, the stronger the light
Light Angle Float The pitch angle of the light
Light Direction Float The direction of the light
Light Color Color The color of the light
Ambient Color Color The color of the ambient light
Ambient Color Mode Enum
Distant View - The distant view model to be used
View Direction Float The direction of distant view
Floor Size Enum The size of the floor
Floor Color Color The color of the floor
Floor Texture Texture The texture of the floor
Coloring Mode Enum The tint mode of the floor
Weather - The weather to be used in this world
Fog Color Color The color of fog
Fog Distance Float The distance of fog. The higher the value, the higher the thickness of fog
Advanced Fog Bool Enable Advanced Fog Effects
Fog Intense Float Controls the thickness/opacity of fog in the scene
Fog Bias Int Fog Height (Objects above this height are less affected by fog)
Sky-fog Intense Float How strongly fog blends with/affects the skybox visuals
BGM Audio The background music of the world
Filter Filter The graphic filter to be used in the world

Event

None.

Command

Command Description Parameter
Generate Object Generate specified object in the scene 1. Object: the object to be generated
  1. Position: the position to generate the object | | 3D Bubble | Generate a 3D bubble in the scene | 1. Text: text to be shown in the bubble
  2. Position: the position to generate the bubble
  3. Text Color: the color of text
  4. Time: the time for the bubble to display | | Play Spatial Audio | Play spatial audio at specified position | 1. Audio: the audio to be played
  5. Position: the position to play the audio
  6. Volume: the volume of the audio
  7. Min Distance: the distance that the volume begins to attenuate
  8. Max Distance: the distance that the volume attenuate to 0 | | Play Audio | Play audio that can be heard by the whole world | 1. Audio: the audio to be played
  9. Volume: the volume of the audio | | Execute Script | Execute specified script | 1. Script: the script to be executed | | Play BGM | Start/continue playing BGM | None | | Pause BGM | Pause the BGM, and then resume playback from the paused position when the Play BGM is executed | None | | Stop BGM | Stop playing BGM, and then start playing from the beginning when Play BGM is executed | None |