-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcontext.cs
More file actions
24 lines (24 loc) · 1.2 KB
/
context.cs
File metadata and controls
24 lines (24 loc) · 1.2 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
namespace Synthizer
{
public class Context : Pausable
{
public DoubleProperty Gain, DefaultDistanceRef, DefaultDistanceMax, DefaultRolloff, DefaultClosenessBoost, DefaultClosenessBoostDistance;
public Double3Property Position;
public Double6Property Orientation;
public IntProperty DefaultDistanceModel, DefaultPannerStrategy;
public Context() : base(0)
{
synthizer.CHECKED(synthizer.syz_createContext(ref handle, 0, 0));
Gain = new(this, Properties.Gain);
DefaultDistanceRef = new(this, Properties.DefaultDistanceRef);
DefaultDistanceMax = new(this, Properties.DefaultDistanceMax);
DefaultRolloff = new(this, Properties.DefaultRolloff);
DefaultClosenessBoost = new(this, Properties.DefaultClosenessBoost);
DefaultClosenessBoostDistance = new(this, Properties.DefaultClosenessBoostDistance);
Position = new(this, Properties.Position);
Orientation = new(this, Properties.Orientation);
DefaultDistanceModel = new(this, Properties.DefaultDistanceModel);
DefaultPannerStrategy = new(this, Properties.DefaultPannerStrategy);
}
}
}