大约有 427 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0043 秒)
...BUG Accessors anisoLevel baseMipmapLevel colorFormat compareMode cpuMemory defaultTexture depthStencilFormat depthStencilTexture destroyed dimension filterMode format gammaCorrection gammaSpace generateDepthTexture generateMipmap gpuMemory height id isCube maxMipmapLevel mipmap mipmapCount multiSamp...
来源: Laya3.0_api 发布时间: 20231102
...rt); 加载场景后报上面图片的错误 GameStart 类如下: export default class GameStart extends ui.GameStartUI { constructor() { super(); this.btnStart.on(Laya.Event.CLICK, this, this.startGame); } startGame(): void { ...
来源: Laya_社区 发布时间: 20190510
...个物体移动时候重合但是无法触发onTriggerEnter, export default class BulletControlTrigger extends Laya.Script3D { constructor(){ super(); } /** * 开始触发时执行 * 此方法为虚方法,使用时重写覆盖即可 */ onTriggerEnter(other){ console.log("onTriggerEnter"); }...
来源: Laya_社区 发布时间: 20191215
...prite3D _createSceneNode _createSkinnedMeshSprite3D _createSprite3D _createdefaultMaterial applyPBRMetallicRoughness applyTransform calSkinnedSpriteLocalBounds getAccessorComponentsNum getAnimationRoot getAttributeNum getBufferwithAccessorIndex getTextureConstructParams getTextureFilterMode getTextu...
来源: Laya3.0_api 发布时间: 20231102
... } protected onShown() { (this.contentPane as IEditor.InspectorPanel).resetDefault(); this.title = "SplitAtlas"; this.setSize(450, 180); } } class SplitAtlasSetting { @IEditor.onLoad static start() { Editor.typeRegistry.addTypes([ { name: "SplitAtlasSetting", catalogBarStyle: "hidden", properties: [...
来源: Laya_社区 发布时间: 20250702
...又看见video这个元素有 let SoundManager = Laya.SoundManager; export default class LoginGame extends Laya.Scene { constructor() { super(); LoginGame.instance = this; Laya.MouseManager.multiTouchEnabled = false; this.loadScene("LoginGame.scene"); } onEnable() { SoundManager.playMusic("audio/梅...
来源: Laya_社区 发布时间: 20181124
...Resource._addReference Defined in laya/resource/Resource.ts:203 Parameters Default value count: number = 1 Returns void _clearReference _clearReference(): void Inherited from Resource._clearReference Defined in laya/resource/Resource.ts:220 Returns void _cloneDatasToAnimator _cloneDatasToAnimator(de...
来源: Laya3.0_api 发布时间: 20231102
...Canvas转出图片与游戏内显示颜色差距过大 测试代码 export default class TestView { constructor() { this.init(); } init() { Laya.stage.bgColor='#ffffff'; Laya.stage.addChild(new Laya.Image('comp/img/img1.png')); Laya.t...
来源: Laya_社区 发布时间: 20230419
...包含脚本的文本具有相同的主机名和端口。 * @param data (default = null)发送的数据。 * @param method (default = "get")用于请求的 HTTP 方法。值包括 "get"、"post"、"head"。 * @param responseType (default = "text")Web 服务器的响应类型,可设置为 "text"、...
来源: Laya3.0_文档 发布时间: 20251010
...问题 Handler.create的最后一个参数,官方解释是 once:Boolean (default = true) — 是否只执行一次,如果为true,回调后执行recover()进行回收,默认为true。可下面代码为什么结果是false? module laya { import Stage = Laya.Stage; import Text = Laya.Text; impo...
来源: Laya_社区 发布时间: 20171221