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

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

301. laya.d3.core.MeshSprite3D [ 85%]

...ite3D addChildren(... args):void 批量增加子节点 Node addComponent(type:*):Component3D 添加指定类型组件。 Sprite3D clearTimer(caller:*, method:Function):void 清理定时器。功能同Laya.timer.clearTimer()。 Node clone():* 克隆。 Sprite3D  cloneTo(destObject:*):void[overr...

来源: laya_api 发布时间: 20170929

302. laya.d3.core.light.DirectionLight_API3.0 [ 85%]

...yedInStage hideFlags id intensity is3D layer lightWorldMatrix lightmapBakedType mode numChildren parent scene shadowCascadesMode shadowDepthBias shadowDistance shadowFourCascadeSplits shadowMode shadowNearPlane shadowNormalBias shadowResolution shadowStrength shadowTwoCascadeSplits timer transform u...

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

303. Laya2.4版本,场景为内嵌时layaMaxUI类中没有声明场景中的Button等控件? [ 85%]

...xport class GameSceneuiUI extends Laya.Scene { public static uiView:any ={"type":"Scene","props":{"width":720,"height":1280},"compId":2,"child":[{"type":"Button","props":{"y":616,"x":296,"skin":"comp/button.png","name":"butStart","label":"label"},"compId":3}],"loadList":["comp/button.png"],"loadList...

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

304. laya.ui.UIUtils_API3.0 [ 85%]

...y gray toColor Methods Static fillArray fillArray(arr: any[], str: string, type?: typeof Number | typeof String): any[] Defined in laya/ui/UIUtils.ts:19 用字符串填充数组,并返回数组副本。 Parameters arr: any[] 源数组对象。 str: string 用逗号连接的字符串。如"p1,p2,p3...

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

305. laya.loaders.SerializeUtil_API3.0 [ 85%]

...sDeserializing Methods applyOverrideData bakeOverrideData decodeObj getLoadTypeByEngineType Properties Static isDeserializing isDeserializing: boolean = false Defined in laya/loaders/SerializeUtil.ts:29 Methods Static applyOverrideData applyOverrideData(nodeData: any, overrideDataMap: Record<stri...

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

306. Laya2.4版本,场景为内嵌时layaMaxUI类中没有声明场景中的Button等控件? [ 85%]

...I extends Laya.Scene {         public static  uiView:any ={"type":"Scene","props":{"width":720,"height":1280},"compId":2,"child":[{"type":"Button","props":{"y":616,"x":296,"skin":"comp/button.png","name":"butStart","label":"label"},"compId":3}],"loadList":["comp/button.png"],"loadList...

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

307. laya.resource.Texture [ 85%]

...毁纹理(分直接销毁,跟计数销毁两种)。 Texture event(type:String, data:* = null):Boolean 派发事件。 EventDispatcher  getPixels(x:Number, y:Number, width:Number, height:Number):Array 获取Texture上的某个区域的像素点 Texture hasListener(type:String):Boolean 检...

来源: laya_api 发布时间: 20170929

308. 为什么会出现报错 ani not found:ufo1_down [ 85%]

...色 this.hero.init("hero",0,1,0,30); // 设置射击类型 this.hero.shootType = 1; // 设置主角的位置 this.hero.pos(200,500); // 放置到舞台上 Laya.stage.addChild(this.hero); // 监听舞台的鼠标移动事件 Laya.stage.on(Laya.Event.MOUSE_MOVE,this,onMouseMove); // 手动创建敌人...

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

309. laya.ui.TextArea [ 85%]

...锚点,值为0-1Component asPassword : Boolean 本API已弃用。使用type="password"替代设置asPassword, asPassword将在下次重大更新时删去。 指定文本字段是否是密码文本字段。 如果此属性的值为 true,则文本字段被视为密码文本字段,并使用星...

来源: laya_api 发布时间: 20170929

310. laya.d3.resource.models.SkyBox_API3.0 [ 85%]

...roperties _geometryElementOBj instance Accessors bufferState destroyed drawType indexFormat instanceCount mode Methods _getType clearRenderParams destroy setDrawArrayParams setDrawElemenParams Constructors constructor new SkyBox(): SkyBox Overrides GeometryElement.constructor Defined in laya/d3/reso...

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