Birdcomponent

BirdComponent class

A component to display birds in the game.

See BirdComponentData for the data schema used to create a bird component

Signature:

export declare class BirdComponent extends Component3D<BirdComponentData> 

Extends: Component3D<BirdComponentData>

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 BirdComponent class.

Properties

Property

Modifiers

Type

Description

color

number

Color of the component. Defaults to 0xffffff

opacity

number

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

Methods

Method

Modifiers

Description

_onCreateCollisionMesh()

protected

dispose()

protected

init()

protected