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 | number | Get the color of the magnetic field. | |
radius | number | Get the radius of the magnetic field. |