Cloudcomponentdata

CloudComponentData interface

Data specification for CloudComponent, see ComponentManager.create() on how to create a component

Signature:

export interface CloudComponentData extends Component3DData 

Extends: Component3DData

Properties

Property

Modifiers

Type

Description

atlas?

number

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

id?

string

(Optional) if not provided, an auto id will be generated

name?

string

(Optional) name for the component. Defaults to ""

opacity?

number

(Optional) Opcaity of the component, from 0 to 1. Defaults to 1

position?

XYZ

(Optional) Position of the component in the space. Defaults to {x: 0, y: 0, z: 0}

rotation?

XYZ

(Optional) Rotation of the component in the space. Defaults to {x: 0, y: 0, z: 0}

scale?

XYZ

(Optional) Scale of the component in the space. Defaults to {x: 1, y: 1, z: 1}

type

"cloud"