大约有 2,619 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0097 秒)
Laya_社区(1653) Laya3.0_api(320) Laya2.0_api(218) laya_api(186) Laya2.0_文档(147) Laya3.0_文档(94) Laya2.0_示例(1)
...MeshRenderer.constructor Defined in laya/d3/core/SkinnedMeshRenderer.ts:97 创建一个 SkinnedMeshRender 实例。 Returns SkinnedMeshRenderer Properties _bones _bones: Sprite3D[] = [] Defined in laya/d3/core/SkinnedMeshRenderer.ts:28 Optional _extra _extra: IComponentExtra Inherited from Component...
来源: Laya3.0_api 发布时间: 20231115
... 类用于检测碰撞。 Public Methods MethodDefined By Collision() 创建一个 Collision 实例。 Collision boxContainsBox(box1:BoundBox, box2:BoundBox):int[static] 空间中包围盒是否包含另一个包围盒 Collision boxContainsPoint(box:BoundBox, point:Vector3):int[static] ...
来源: laya_api 发布时间: 20170929
...于检测碰撞。 Public Methods MethodDefined By CollisionUtils() 创建一个 Collision 实例。 CollisionUtils boxContainsBox(box1:BoundBox, box2:BoundBox):int[static] 空间中包围盒是否包含另一个包围盒 CollisionUtils boxContainsPoint(box:BoundBox, point:Vector3):int[st...
来源: Laya2.0_api 发布时间: 20190513
...onAwake():void 组件被激活后执行,此时所有节点和组件均已创建完毕,次方法只执行一次 此方法为虚方法,使用时重写覆盖即可 Node once(type:String, caller:*, listener:Function, args:Array = null):EventDispatcher[override] 增加事件侦听器,以使侦...
来源: Laya2.0_api 发布时间: 20190513
...用renderTarget缓存。 webgl下renderTarget缓存模式缺点:会额外创建renderTarget对象,增加内存开销,缓存面积有最大2048限制,不断重绘时会增加CPU开销。优点:大幅减少drawcall,渲染性能最高。 webgl下命令缓存模式缺点:只会减少节点...
来源: Laya3.0_api 发布时间: 20231102
...y.transform.rotation = new Laya.Quaternion(0.7071068, 0, 0, -0.7071067); //创建材质 var customMaterial = new Laya.MultiplePassOutlineMaterial(); //漫反射贴图 Laya.Texture2D.load("res/threeDimen/skinModel/LayaMonkey/Assets/LayaMonkey/diffuse.png", Laya.Handler.create(this, function(texture) ...
来源: Laya2.0_文档 发布时间: 20210715
...偏移组合成一个整体的碰撞体。其本质是在物理引擎底层创建一个由多个形状组成的“组合体”,作为一个刚体(RigidBody)处理。 在IDE中,我们添加完组合碰撞形状后,只有一个设置,就是形态组合(shapes),通过点击 + 号按钮添...
来源: Laya3.0_文档 发布时间: 20251010
...用renderTarget缓存。 webgl下renderTarget缓存模式缺点:会额外创建renderTarget对象,增加内存开销,缓存面积有最大2048限制,不断重绘时会增加CPU开销。优点:大幅减少drawcall,渲染性能最高。 webgl下命令缓存模式缺点:只会减少节点...
来源: Laya3.0_api 发布时间: 20231115
...playClasspublic class GraphicsInheritanceGraphics Object Graphics 类用于创建绘图显示对象。Graphics可以同时绘制多个位图或者矢量图,还可以结合save,restore,transform,scale,rotate,translate,alpha等指令对绘图效果进行变化。 Graphics以命令流方...
来源: Laya2.0_api 发布时间: 20190513
...ean Defined in laya/resource/Resource.ts:198 返回资源是否从指定url创建 Parameters url: string Returns boolean off off(type: string, listener: Function): EventDispatcher off(type: string, caller: any, listener?: Function, args?: any[]): EventDispatcher Inherited from EventDispatcher.off De...
来源: Laya3.0_api 发布时间: 20231115