mirror of
https://gitee.com/onvia/ccc-tnt-psd2ui
synced 2025-10-27 01:16:38 +00:00
两个版本的插件
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
"use strict";
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
exports.CCColor = void 0;
|
||||
const Color_1 = require("../../../values/Color");
|
||||
class CCColor extends Color_1.Color {
|
||||
constructor() {
|
||||
super(...arguments);
|
||||
this.__type__ = "cc.Color";
|
||||
}
|
||||
}
|
||||
exports.CCColor = CCColor;
|
||||
21
ccc-tnt-psd2ui-v3.4.+/libs/psd2ui/engine/cc/values/CCSize.js
Normal file
21
ccc-tnt-psd2ui-v3.4.+/libs/psd2ui/engine/cc/values/CCSize.js
Normal file
@@ -0,0 +1,21 @@
|
||||
"use strict";
|
||||
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
||||
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
||||
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
||||
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
||||
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
||||
};
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
exports.CCSize = void 0;
|
||||
const Size_1 = require("../../../values/Size");
|
||||
const _decorator_1 = require("../../../_decorator");
|
||||
let CCSize = class CCSize extends Size_1.Size {
|
||||
constructor() {
|
||||
super(...arguments);
|
||||
this.__type__ = "cc.Size";
|
||||
}
|
||||
};
|
||||
CCSize = __decorate([
|
||||
(0, _decorator_1.cctype)("cc.Size")
|
||||
], CCSize);
|
||||
exports.CCSize = CCSize;
|
||||
@@ -0,0 +1,37 @@
|
||||
"use strict";
|
||||
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
||||
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
||||
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
||||
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
||||
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
||||
};
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
exports.CCTypedArray = void 0;
|
||||
const _decorator_1 = require("../../../_decorator");
|
||||
let CCTypedArray = class CCTypedArray {
|
||||
constructor() {
|
||||
this.__type__ = "TypedArray";
|
||||
this.ctor = "Float64Array";
|
||||
this.array = [];
|
||||
}
|
||||
setPosition(x, y, z) {
|
||||
this.array[0] = x;
|
||||
this.array[1] = y;
|
||||
this.array[2] = z;
|
||||
}
|
||||
setRotation(x, y, z, w) {
|
||||
this.array[3] = x;
|
||||
this.array[4] = y;
|
||||
this.array[5] = z;
|
||||
this.array[6] = w;
|
||||
}
|
||||
setScale(x, y, z) {
|
||||
this.array[7] = x;
|
||||
this.array[8] = y;
|
||||
this.array[9] = z;
|
||||
}
|
||||
};
|
||||
CCTypedArray = __decorate([
|
||||
(0, _decorator_1.cctype)("TypedArray")
|
||||
], CCTypedArray);
|
||||
exports.CCTypedArray = CCTypedArray;
|
||||
21
ccc-tnt-psd2ui-v3.4.+/libs/psd2ui/engine/cc/values/CCVec2.js
Normal file
21
ccc-tnt-psd2ui-v3.4.+/libs/psd2ui/engine/cc/values/CCVec2.js
Normal file
@@ -0,0 +1,21 @@
|
||||
"use strict";
|
||||
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
||||
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
||||
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
||||
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
||||
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
||||
};
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
exports.CCVec2 = void 0;
|
||||
const Vec2_1 = require("../../../values/Vec2");
|
||||
const _decorator_1 = require("../../../_decorator");
|
||||
let CCVec2 = class CCVec2 extends Vec2_1.Vec2 {
|
||||
constructor() {
|
||||
super(...arguments);
|
||||
this.__type__ = "cc.Vec2";
|
||||
}
|
||||
};
|
||||
CCVec2 = __decorate([
|
||||
(0, _decorator_1.cctype)("cc.Vec2")
|
||||
], CCVec2);
|
||||
exports.CCVec2 = CCVec2;
|
||||
11
ccc-tnt-psd2ui-v3.4.+/libs/psd2ui/engine/cc/values/CCVec3.js
Normal file
11
ccc-tnt-psd2ui-v3.4.+/libs/psd2ui/engine/cc/values/CCVec3.js
Normal file
@@ -0,0 +1,11 @@
|
||||
"use strict";
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
exports.CCVec3 = void 0;
|
||||
const Vec3_1 = require("../../../values/Vec3");
|
||||
class CCVec3 extends Vec3_1.Vec3 {
|
||||
constructor() {
|
||||
super(...arguments);
|
||||
this.__type__ = "cc.Vec3";
|
||||
}
|
||||
}
|
||||
exports.CCVec3 = CCVec3;
|
||||
Reference in New Issue
Block a user