Bulletcomponent

BulletComponent class

A component to display bullets in the game. Once created, the bullet will move in the given direction at the given speed.

See BulletComponentData for the data schema used to create a bullet component

Signature:

export declare class BulletComponent extends Component3D<BulletComponentData> 

Extends: Component3D<BulletComponentData>

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