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

大约有 2,830 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0080 秒)

301. laya.d3.core.RenderableSprite3D_API3.0 [ 85%]

... from Node.addChild Defined in laya/display/Node.ts:227 添加子节点。 Type parameters T: Node Parameters node: T 节点对象 Returns T 返回添加的节点 addChildAt addChildAt(node: Node, index: number): Node Inherited from Node.addChildAt Defined in laya/display/Node.ts:264 添加子节点...

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

302. laya接入fairyGUI的时候资源加载方式? [ 85%]

...加载方式?     Laya.loader.load([{ url: "res/Basics_atlas0.png", type: laya.net.Loader.IMAGE },     { url: "res/Basics.fui", type: laya.net.Loader.BUFFER }, { url: "res/MainMenu_atlas0.png", type: laya.net.Loader.IMAGE },     { url: "res/MainMenu.fui", type: laya.net.Loader.BUFFER }...

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

303. laya.physics.Physics [ 85%]

...自己控制物理更新时机,自己调用Physics.update Physics event(type:String, data:* = null):Boolean 派发事件。 EventDispatcher  getBodyCount():int获得刚体总数量Physics  getContactCount():int获得碰撞总数量Physics  getJointCount():int获得关节总数量Physics ha...

来源: Laya2.0_api 发布时间: 20190513

304. 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

305. 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

306. 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

307. 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

308. 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

309. 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

310. 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