MagnetParallelMaterial()¶
Description¶
Constructor of the MagnetParallelMaterial type.
Syntax¶
JS
new MagnetParallelMaterial(angle: Number = 0, segmentRadiuses: Array<Number> = null, savePoleBorder: Boolean = true) -> MagnetParallelMaterial
Parameters¶
| Parameter | Type | Default Value | Mandatory | Description |
|---|---|---|---|---|
angle |
Number |
0 |
❌ | Angle of parallel magnetization. |
segmentRadiuses |
Array<Number> |
null |
❌ | Array of segment radii of the magnet. |
savePoleBorder |
Boolean |
true |
❌ | If true — saves the border between adjacent magnetic poles. |
Return value¶
| Type | Description |
|---|---|
#javascript MagnetParallelMaterial |
Object of type MagnetParallelMaterial. |