大约有 1,421 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0105 秒)
Laya_社区(873) Laya2.0_文档(129) Laya3.0_api(105) Laya_示例(75) Laya2.0_api(66) Laya3.0_文档(61) laya_api(61) Laya2.0_示例(51)
...s.fillText("fillText:引擎绘制的文本,适合简单的单行文本", 100, 300, " 60px simHei ", "#ff0000", "left"); } 在Text与Label中,font仅仅是指系统字体,例如该文本是Microsoft YaHei还是Arial,选择或者输入对应的字体就可以。而fillText中,font是字体...
来源: Laya3.0_文档 发布时间: 20251010
...化照相机 var camera = this.newScene.addChild(new Laya.Camera(0, 0.1, 100)) as Laya.Camera; camera.transform.rotationEuler = new Laya.Vector3(-32, -75, 0); camera.transform.position =new Laya.Vector3(-8.2, 5.3, 2.2); var modelViewer = camera.addComponent(ModelViewer); modelViewer.AroundPos = plan...
来源: Laya_社区 发布时间: 20190224
... 0; private nextHeartbeatTimeout:number = 0; private gapThreshold:number = 100; private heartbeatId:any = null; private heartbeatTimeoutId:any = null; private handshakeCallback:any = null; private handshakeBuffer:any; private initCallback:Function = null; private _callbacks:any = {}; private reqId:n...
来源: Laya_社区 发布时间: 20180119
... now, speed) => { console.log(`downloading:${Math.floor((now / total) * 100)}`) return false;0 }, (curlret, httpret) => { if (curlret != 0 || httpret < 200 || httpret >= 300) { resolve(null); } else { resolve(localfile); } }, 10, 100000000); } ); } let zipfile = await downloadBigZip('htt...
来源: Laya3.0_文档 发布时间: 20251010
...): void Defined in laya/display/Input.ts:527 字符数量限制,默认为10000。 设置字符数量限制时,小于等于0的值将会限制字符数量为10000。 Returns number Defined in laya/display/Input.ts:531 字符数量限制,默认为10000。 设置字符数量限制时,小于等...
来源: Laya3.0_api 发布时间: 20231115
...th(): number set length(value: number): void Defined in laya/utils/Byte.ts:100 Byte 对象的长度(以字节为单位)。 如果将长度设置为大于当前长度的值,则用零填充字节数组的右侧;如果将长度设置为小于当前长度的值,将会截断该字节数组。 ...
来源: Laya3.0_api 发布时间: 20231115
...互应用中,默认 pixelRatio=50 往往是一个好起点:例如 50~100px 的角色高度可对应 1~2m 的物理高度,既符合直觉也比较稳定。如果你项目整体美术比例更偏大(例如角色 300px 高)或偏小(例如像素风 16px/32px),你可以通过调整 pixel...
来源: Laya3.0_文档 发布时间: 20260122
...mpareFunction.GreaterEqual Defined in laya/d3/core/material/RenderState.ts:100 深度测试函数枚举_大于等于时通过。 Static STENCILTEST_GREATER STENCILTEST_GREATER: number = CompareFunction.Greater Defined in laya/d3/core/material/RenderState.ts:96 深度测试函数枚举_大于时通...
来源: Laya3.0_api 发布时间: 20231102
...ted from Material.renderQueue Defined in laya/d3/core/material/Material.ts:100 所属渲染队列. url url: string Inherited from Resource.url Defined in laya/resource/Resource.ts:107 获取资源的URL地址。 uuid uuid: string Inherited from Resource.uuid Defined in laya/resource/Resource.ts:109 ...
来源: Laya3.0_api 发布时间: 20231115
... | state=R schedstat=( 1563292140 82949839 464 ) utm=150 stm=4 core=3 HZ=100 2019-03-15 08:45:13.439 8214-8265/com.layabox.hello A/art: art/runtime/java_vm_ext.cc:470] | stack=0x896ce000-0x896d0000 stackSize=1014KB 2019-03-15 08:45:13.439 8214-8265/com.layabox.hello A/art: art/runtime/java_vm_...
来源: Laya_社区 发布时间: 20190315