大约有 3,617 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0112 秒)
Laya_社区(2682) Laya3.0_api(265) Laya2.0_文档(227) Laya2.0_api(113) Laya3.0_文档(104) laya_api(98) Laya_示例(83) Laya2.0_示例(45)
...Resource.lock Defined in laya/resource/Resource.ts:95 是否加锁,如果true为不能使用自动释放机制。 Optional name name: string Inherited from Resource.name Defined in laya/resource/Resource.ts:97 名称。 url url: string Inherited from Resource.url Defined in laya/resource/Resource....
来源: Laya3.0_api 发布时间: 20231102
...默认为false,按钮点击后会直接恢复初始状态。勾选后为true,可以通过点击切换按钮显示状态,当点击按钮组件后,按钮会保持在选中(持续按下)状态,再次点击可以还原。 纹理状态 stateNum 按钮皮肤的状态数,支持单态(1)...
来源: Laya3.0_文档 发布时间: 20251010
如何设置3D场景舞台透明 Config.isAlpha = true; Laya3D.init(1920, 1080, true); Laya.stage.bgColor = "none";我是这样设置的,但是似乎没有效果。 2017-09-21 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交...
来源: Laya_社区 发布时间: 20170921
...ya.DirectionLight; light.color = new Laya.Vector3(1, 1, 1); light.shadow = true; light.shadowDistance = 1; light.shadowPCFType = 3; light.shadowResolution = 1024; light.shadowPSSMCount = 1; for (let index = 0; index < 2; index++) { var a = 0.05; var b = 0.2; var c = 0.03; var pos = new Laya.Vecto...
来源: Laya_社区 发布时间: 20191223
...设置好文本的宽度,设置以下属性即可: textInput.multiline=true; textInput.wordWrap=true; 2017-09-05 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 18336093936 相关问题 文本如何自动换行 3d显示对象克隆体...
来源: Laya_社区 发布时间: 20170905
...第三个参数来缓存的,如果缓存后用 Laya.loader.clearRes(url,true)这样卸载资源,再次缓存同名动画,播放动画就会闪烁。如果用Laya.loader.clearRes(url,false)卸载,播放动画就不会显示,除非缓存之前先Laya.Animation.clearCache,这样就正常了...
来源: Laya_社区 发布时间: 20161128
...的 Component 实例。 Parameters Default value createChildren: boolean = true Returns UIComponent Properties Optional _extra _extra: INodeExtra Inherited from Node._extra Defined in laya/display/Node.ts:56 _ownGraphics _ownGraphics: boolean = false Inherited from Text._ownGraphics Defined in laya/...
来源: Laya3.0_api 发布时间: 20231115
...毁此对象。 override Parameters Default value destroyChild: boolean = true 是否同时销毁子节点,若值为true,则销毁子节点,否则不销毁子节点。 Returns void destroyChildren destroyChildren(): void Inherited from Node.destroyChildren Defined in laya/display/Node.ts:211 销...
来源: Laya3.0_api 发布时间: 20231115
...s:310 inheritdoc override Parameters Default value destroyChild: boolean = true Returns void destroyChildren destroyChildren(): void Inherited from Node.destroyChildren Defined in laya/display/Node.ts:211 销毁所有子对象,不销毁自己本身。 Returns void event event(type: string, data?: ...
来源: Laya3.0_api 发布时间: 20231115
...“和”`HTTP authentication schemes`“。除非`xhr.withCredentials`为`true`(`xhr`对象有一个属性叫`withCredentials`,默认值为`false`)。所以开发者假如遇到跨域发送不能携带cookie时候请参考这个。 ### 方法 #### abort() 如果请求已经被发送,则立刻...
来源: Laya2.0_文档 发布时间: 20210715