Cloudcomponent

CloudComponent class

A component to display clouds in the game.

See CloudComponentData for the data schema used to create a cloud component

Signature:

export declare class CloudComponent extends Component3D<CloudComponentData> 

Extends: Component3D<CloudComponentData>

Remarks

The constructor for this class is marked as internal. Third-party code should not call the constructor directly or create subclasses that extend the CloudComponent class.

Properties

Property

Modifiers

Type

Description

atlas

number

Type of the cloud, use a number from 0 to 3 to choose the cloud type. Defaults to 0

opacity

number

Opcaity of the component, from 0 to 1. Defaults to 1

Methods

Method

Modifiers

Description

getInstanceWrapper()

init()

protected