MagneticFieldComponent class
A component to display magnetic field like effect in the game.
See MagneticFieldComponentData for the data specification to create a magnetic field component.
Signature:
export declare class MagneticFieldComponent extends Component3D<MagneticFieldComponentData>
Extends: Component3D<MagneticFieldComponentData>
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 MagneticFieldComponent
class.
Properties
Property |
Modifiers |
Type |
Description |
---|---|---|---|
{ color: (c: any) => any; radius: (r: any) => any; } | |||
number |
Color of the magnetic field. Defaults to 0x000000 | ||
number |
Radius of the magnetic field. Defaults to 1 |
Methods
Method |
Modifiers |
Description |
---|---|---|
| ||
|