Revision 36d65d88
Added by Leszek Koltunski almost 4 years ago
src/main/java/org/distorted/library/effect/Effect.java | ||
---|---|---|
49 | 49 |
private final static int[] mUnityDim = new int[NUM_EFFECTS]; |
50 | 50 |
|
51 | 51 |
int mAssociation; |
52 |
int mComponent; |
|
52 | 53 |
|
53 | 54 |
static boolean[] mEnabled = new boolean[NUM_EFFECTS]; |
54 | 55 |
|
... | ... | |
68 | 69 |
mRegionDim = name.getRegionDimension(); |
69 | 70 |
|
70 | 71 |
mAssociation = 0xffffffff; |
72 |
mComponent = 0; |
|
71 | 73 |
|
72 | 74 |
int n = name.ordinal(); |
73 | 75 |
float[] u = name.getUnity(); |
... | ... | |
145 | 147 |
return mAssociation; |
146 | 148 |
} |
147 | 149 |
|
150 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
|
151 |
/** |
|
152 |
* Only for use by the library itself. |
|
153 |
* |
|
154 |
* @y.exclude |
|
155 |
*/ |
|
156 |
public int getComponent() |
|
157 |
{ |
|
158 |
return mComponent; |
|
159 |
} |
|
160 |
|
|
148 | 161 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
149 | 162 |
// PUBLIC API |
150 | 163 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
Also available in: Unified diff
Progress making it possible to apply Vertex Effects only to some Components of a Mesh.