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

大约有 1,147 项符合查询结果, 库内数据总量为 30,724 项。 (搜索耗时: 0.0078 秒)

901. laya.ui.ScaleBox_API3.0 [ 53%]

...structor Overrides Sprite.constructor Defined in laya/ui/UIComponent.ts:24 创建一个新的 Component 实例。 Parameters Default value createChildren: boolean = true Returns ScaleBox Properties Optional _extra _extra: INodeExtra Inherited from Node._extra Defined in laya/display/Node.ts:56 _ownG...

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

902. 一篇上手LayaAir的3D物理引擎(TypeScript-3D基础(TS)-LayaAir3D之物理系统) [ 53%]

...设置触发器的方式: ```typescript /* ……省略若干代码 */ //创建盒型MeshSprite3D let box = scene.addChild(new Laya.MeshSprite3D(Laya.PrimitiveMesh.createBox(sX, sY, sZ))) as Laya.MeshSprite3D; //创建静态碰撞器 let staticCollider:Laya.PhysicsCollider = box.addComponent(Laya....

来源: Laya2.0_文档 发布时间: 20210715

903. laya.d3.physics.shape.MeshColliderShape_API3.0 [ 53%]

...hape" MeshColliderShape Class MeshColliderShape MeshColliderShape 类用于创建网格碰撞器。 Hierarchy ColliderShape MeshColliderShape Implements IClone Index Constructors constructor Properties needsCustomCollisionCallback SHAPEORIENTATION_UPX SHAPEORIENTATION_UPY SHAPEORIENTATION_UPZ Access...

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

904. laya.ui.Box_API3.0 [ 53%]

...structor Overrides Sprite.constructor Defined in laya/ui/UIComponent.ts:24 创建一个新的 Component 实例。 Parameters Default value createChildren: boolean = true Returns Box Properties Optional _extra _extra: INodeExtra Inherited from Node._extra Defined in laya/display/Node.ts:56 _ownGraphi...

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

905. laya.d3.resource.models.SkyBox_API3.0 [ 53%]

...obals "laya/d3/resource/models/SkyBox" SkyBox Class SkyBox SkyBox 类用于创建天空盒。 Hierarchy GeometryElement SkyBox Index Constructors constructor Properties _geometryElementOBj instance Accessors bufferState destroyed drawType indexFormat instanceCount mode Methods _getType clearRenderPa...

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

906. 新人求教!!! [ 53%]

...ndler.create(this,this.graphicsImg)); } private graphicsImg():void{    //创建一个实例    this.img = new Laya.Sprite();    //添加到舞台    Laya.stage.addChild(this.img);    //显示初始化绘制的图片    this.switchImg();    //侦听switchImg中图片区域的点击事...

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

907. laya.display.Node_API3.0 [ 53%]

...: string): void Defined in laya/display/Node.ts:67 如果节点从资源中创建,这里记录是他的url Returns string Defined in laya/display/Node.ts:74 设置资源的URL Parameters path: string Returns void Methods _initialize _initialize(): void Defined in laya/display/Node.ts:103 Returns v...

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

908. laya.ui.UIGroup_API3.0 [ 52%]

...UIGroup Overrides UIComponent.constructor Defined in laya/ui/UIGroup.ts:63 创建一个新的 Group 类实例。 Parameters Default value labels: string = null 标签集字符串。以逗号做分割,如"item0,item1,item2,item3,item4,item5"。 Default value skin: string = null 皮肤。 Returns UI...

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

909. laya.ui.LayoutBox_API3.0 [ 52%]

...structor Overrides Sprite.constructor Defined in laya/ui/UIComponent.ts:24 创建一个新的 Component 实例。 Parameters Default value createChildren: boolean = true Returns LayoutBox Properties Optional _extra _extra: INodeExtra Inherited from Node._extra Defined in laya/display/Node.ts:56 _own...

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

910. laya.ui.WXOpenDataViewer_API3.0 [ 52%]

...用renderTarget缓存。 webgl下renderTarget缓存模式缺点:会额外创建renderTarget对象,增加内存开销,缓存面积有最大2048限制,不断重绘时会增加CPU开销。优点:大幅减少drawcall,渲染性能最高。 webgl下命令缓存模式缺点:只会减少节点...

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