大约有 447 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0039 秒)
...hs/Matrix.ts:30 使用指定参数创建新的 Matrix 对象。 Parameters Default value a: number = 1 (可选)缩放或旋转图像时影响像素沿 x 轴定位的值。 Default value b: number = 0 (可选)旋转或倾斜图像时影响像素沿 y 轴定位的值。 Default value c: number...
来源: Laya3.0_api 发布时间: 20231115
...里我还的Import 20+次? 而且被导入文档 首行必须有 export default class******* 这升级后 怎么写起来更麻烦了?还是说我没找到简便方式?? 求解 图1: 图2 问题二: 例如1.9我可以这样使用带命名空间的文档,,但是由于2.0需要Impo...
来源: Laya_社区 发布时间: 20181112
...让类相互继承,然后又相互引用就解决了,比如 export default class A{ //public instance:B 这种就是类相互继承,然后又相互引用,改为: public instance:any } export default class B extends A{ } 2024-12-16 1 0 分享 微博 QZONE 微信 正阳子...
来源: Laya_社区 发布时间: 20241209
... in laya/resource/Texture.ts:228 创建一个 Texture 实例。 Parameters Default value source: Texture | BaseTexture = null Default value uv: ArrayLike<number> = null UV 数据信息。 Default value sourceWidth: number = 0 Default value sourceHeight: number = 0 Returns Texture Properties _i...
来源: Laya3.0_api 发布时间: 20231115
...); } } } 扩展UI代码: import { ui } from "../ui/layaMaxUI"; export default class AttackView extends ui.AttackUI { constructor() { super(); this.btn_attack.on("click", this, this.onAttack); } private onAttack(): void { // TODO } } 上面代码,btn_attack 按钮是 undefined 对象,没有...
来源: Laya_社区 发布时间: 20180926
...ber 字节长度。 bufferUsage: BufferUsage VertexBuffer3D用途类型。 Default value canRead: boolean = false 是否可读。 Returns NativeVertexBuffer3D Properties _buffer _buffer: Float32Array | Uint16Array | Uint8Array | Uint32Array Inherited from Buffer._buffer Defined in laya/RenderEngine/...
来源: Laya3.0_api 发布时间: 20231115
...浏览: 1815 关注: 2 人 IXgSoul • 2020-04-07 12:00 嗯导出了export default class ResponerManager kylin • 2020-04-07 18:15 @IXgSoul:辛苦传一个可复现的简单demo吧,仅从目前的信息我们无法继续调查。 IXgSoul • 2020-04-09 11:18 @kylin:查到了,是循环引用导...
来源: Laya_社区 发布时间: 20200407
...t.ts:16 根据指定坐标,创建一个新的 Point 对象。 Parameters Default value x: number = 0 (可选)水平坐标。 Default value y: number = 0 (可选)垂直坐标。 Returns Point Properties x x: number Defined in laya/maths/Point.ts:14 该点的水平坐标。 y y: number Defin...
来源: Laya3.0_api 发布时间: 20231115
...dState crossFade destroy getControllerLayer getCurrentAnimatorPlayState getDefaultState getParamsvalue hasHideFlag onAdded onAwake onDestroy onDisable onEnable onLateUpdate onPostRender onPreRender onReset onStart play removeState setParamsBool setParamsNumber setParamsTrigger Constructors construct...
来源: Laya3.0_api 发布时间: 20231115
...eters position: Vector3 粒子位置。 direction: Vector3 粒子方向。 Default value rand: Rand = null Default value randomSeeds: Uint32Array = null Returns void Globals "laya/d3/core/particleShuriKen/module/shape/SphereShape" SphereShape constructor emitFromShell enable radius randomDirection s...
来源: Laya3.0_api 发布时间: 20231115