|
Godot Nature of Code
1.2.0
Nature of Code implemented in Godot Engine
|
Simple oscillator. More...
Inherits Node2D.
Public Member Functions | |
| SimpleOscillator () | |
| Create a default oscillator. More... | |
Public Attributes | |
| Vector2 | Angle |
| Oscillator angle More... | |
| Vector2 | PositionOffset |
| Position offset More... | |
| Vector2 | Velocity |
| Oscillator velocity More... | |
| Vector2 | Amplitude |
| Oscillator amplitude More... | |
| Vector2 | AngularAcceleration |
| Oscillator angular acceleration More... | |
Properties | |
| bool | ShowLine [get, set] |
| Show line More... | |
| float | Radius [get, set] |
| Oscillator radius More... | |
| Color | LineColor [get, set] |
| Line color More... | |
| Color | BallColor [get, set] |
| Ball color More... | |
Simple oscillator.
Definition at line 12 of file SimpleOscillator.cs.
|
inline |
Create a default oscillator.
Definition at line 69 of file SimpleOscillator.cs.
| Vector2 Oscillation.SimpleOscillator.Amplitude |
Oscillator amplitude
Definition at line 38 of file SimpleOscillator.cs.
| Vector2 Oscillation.SimpleOscillator.Angle |
Oscillator angle
Definition at line 29 of file SimpleOscillator.cs.
| Vector2 Oscillation.SimpleOscillator.AngularAcceleration |
Oscillator angular acceleration
Definition at line 41 of file SimpleOscillator.cs.
| Vector2 Oscillation.SimpleOscillator.PositionOffset |
Position offset
Definition at line 32 of file SimpleOscillator.cs.
| Vector2 Oscillation.SimpleOscillator.Velocity |
Oscillator velocity
Definition at line 35 of file SimpleOscillator.cs.
|
getset |
Ball color
Definition at line 54 of file SimpleOscillator.cs.
|
getset |
Line color
Definition at line 44 of file SimpleOscillator.cs.
|
getset |
|
getset |
Show line
Definition at line 15 of file SimpleOscillator.cs.