• 首页
  • 动态
  • 案例
  • 引擎社区
  • API
  • 文档
  • 示例
  • 引擎下载

大约有 1,038 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0069 秒)

1001. laya.ui.AutoBitmap_API3.0 [ 35%]

... Returns DrawTextureCmd | null drawTextures drawTextures(texture: Texture, pos: any[], colors?: number[]): DrawTexturesCmd | null Inherited from Graphics.drawTextures Defined in laya/display/Graphics.ts:255 批量绘制同样纹理。 Parameters texture: Texture 纹理。 pos: any[] 绘制次数和...

来源: Laya3.0_api 发布时间: 20231115

1002. laya.d3.webxr.core.WebXRInput_API3.0 [ 35%]

...ventDispatcher WebXRInput Index Constructors constructor Properties _lastXRPose gamepadAxis gamepadButton handness lastXRPose position ray rotation EVENT_FRAMEUPDATA_WEBXRINPUT HANDNESS_LEFT HANDNESS_RIGHT Methods addAxisEvent addButtonEvent destroy event hasListener off offAll offAllCaller offAxisE...

来源: Laya3.0_api 发布时间: 20231115

1003. 单选框组容器组件 · LayaAir3.3 · 引擎文档 · LAYABOX [ 35%]

...创建完毕,此方法只执行一次 onAwake(): void { this.radiogroup.pos(100, 100); this.radiogroup.labels = "label0,label1,label2"; this.radiogroup.space = 20; this.radiogroup.selectedIndex = 0; this.radiogroup.direction = "vertical"; } } 二、创建自定义的RadioGroup组件 上一小节...

来源: Laya3.0_文档 发布时间: 20251016

1004. 自定义3D Shader · LayaAir3.3 · 引擎文档 · LAYABOX [ 34%]

...nlit(不受光),PBR(基于物理渲染),Particle(粒子),PostProcess(后期处理)。 2.如何自定义Shader 2.1 Mesh中常见的属性 polygon这个词来自希腊语,由poly(很多)和gnow(角)组成,根据定义,多边形是指以线段为界的封闭平面图形 在...

来源: Laya3.0_文档 发布时间: 20251010

1005. 按钮组件 · LayaAir3.3 · 引擎文档 · LAYABOX [ 34%]

...umber = (i / this.COLUMNS | 0) * this.VERTICAL_SPACING + this.yOffset; btn.pos(x, y); console.log(x, y); } } private createButton(skin: string): Laya.Button { var btn: Laya.Button = new Laya.Button(skin); this.owner.addChild(btn); return btn; } } 上述代码运行效果如动图2-1所示: (动图...

来源: Laya3.0_文档 发布时间: 20251010

1006. 有关Laya3D碰撞检测疑问 [ 33%]

...men/texture/layabox.png"); box.meshRender.material = boxMat; box.transform.position = new Laya.Vector3(0.3, 0.5, 0.5); box.transform.rotate(new Laya.Vector3(0, 30, 0), false, false); let boxCollider1:Laya.BoxCollider = box.addComponent(Laya.BoxCollider) as Laya.BoxCollider; boxCollider1.setFromBound...

来源: Laya_社区 发布时间: 20180820

1007. laya.display.Text_API3.0 [ 33%]

...rchy Sprite Text Input Index Constructors constructor Properties _extra _onPostLayout _ownGraphics _parseEscapeChars _scene _skinBaseUrl _url autoSize hitTestPrior ignoreLang mouseThrough name tag ELLIPSIS HIDDEN RightToLeft SCROLL SHRINK VISIBLE _passwordChar drawtocanvCtx langPacks Accessors _isHe...

来源: Laya3.0_api 发布时间: 20231115

1008. laya.ui.HScrollBar_API3.0 [ 33%]

...rDeserialize onAwake onDestroy onDisable onEnable once parentRepaint pivot pos reCache removeChild removeChildAt removeChildByName removeChildren removeSelf render repaint replaceChild runCallLater scale setChildIndex setGraphics setScroll setSelfBounds set_anchorX set_anchorY set_bottom set_dataSou...

来源: Laya3.0_api 发布时间: 20231115

1009. laya.ui.VScrollBar_API3.0 [ 33%]

...rDeserialize onAwake onDestroy onDisable onEnable once parentRepaint pivot pos reCache removeChild removeChildAt removeChildByName removeChildren removeSelf render repaint replaceChild runCallLater scale setChildIndex setGraphics setScroll setSelfBounds set_anchorX set_anchorY set_bottom set_dataSou...

来源: Laya3.0_api 发布时间: 20231115

1010. laya.ui.ComboBox_API3.0 [ 33%]

...rDeserialize onAwake onDestroy onDisable onEnable once parentRepaint pivot pos reCache removeChild removeChildAt removeChildByName removeChildren removeSelf render repaint replaceChild runCallLater scale setChildIndex setGraphics setSelfBounds set_anchorX set_anchorY set_bottom set_dataSource set_he...

来源: Laya3.0_api 发布时间: 20231115