1 |
|
2 |
|
3 |
|
4 | export var Strategy;
|
5 |
|
6 | (function (Strategy) {
|
7 | Strategy[Strategy["Standard"] = 0] = "Standard";
|
8 | })(Strategy || (Strategy = {}));
|
9 |
|
10 | var Cullable =
|
11 |
|
12 | function () {
|
13 | function Cullable() {
|
14 | this.strategy = Strategy.Standard;
|
15 | this.visibilityPlaneMask = -1;
|
16 | this.visible = true;
|
17 | this.enable = true;
|
18 | }
|
19 |
|
20 | Cullable.prototype.isCulled = function () {
|
21 | return this.enable && !this.visible;
|
22 | };
|
23 |
|
24 | Cullable.tag = 'c-cullable';
|
25 | return Cullable;
|
26 | }();
|
27 |
|
28 | export { Cullable }; |
\ | No newline at end of file |