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

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

161. laya.d3.core.render.BaseRender [ 78%]

...RenderInheritanceBaseRender EventDispatcher ObjectImplements laya.resource.IDestroySubclasses GlitterRender, MeshRender, ShurikenParticleRender, TerrainRender, WaterRender Render 类用于渲染器的父类,抽象类不允许实例。 Public Properties PropertyDefined By  boundingBox : BoundBox...

来源: laya_api 发布时间: 20170929

162. zip更新(TypeScript-LayaNative原生服务-LayaNative进阶) [ 78%]

...w:number,speed:number)=>boolean,oncomp:(curlret:number, httpret:number)=>void, trynum:number, opttimeout:number)=>void; ``` * 处理zip文件的ZipFile类 ```javascript interface ZipFile{ setSrc(src:string):boolean; /** * 遍历zip中的文件。 * id: * name:文件名,包含路径 * dir:是否是...

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

163. laya.d3.physicscannon.CannonPhysicsTriggerComponent_API3.0 [ 78%]

...rchy CannonPhysicsComponent CannonPhysicsTriggerComponent CannonPhysicsCollider Index Constructors constructor Properties _extra _singleton canScaleShape owner runInEditor scriptPath Accessors awaked canCollideWith colliderShape collisionGroup destroyed enabled friction hideFlags id isTrigger restit...

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

164. iOS构建 · LayaAir3.3 · 引擎文档 · LAYABOX [ 78%]

iOS构建发布二、构建发布2.1 应用ID2.2 构建版本号2.3 打包资源2.4 混淆资源2.5 资源服务器URL2.6 热更新(DCC)2.7 屏幕方向2.8 图标2.9 签名2.10 分发类型2.11 渲染模式2.12 导出项目2.13 纹理选项三、构建XCode工程3.1 构建好的项目工程的...

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

165. laya.d3.physicscannon.CannonPhysicsCollider_API3.0 [ 77%]

...ternals Only exported Menu Globals "laya/d3/physicsCannon/CannonPhysicsCollider" CannonPhysicsCollider Class CannonPhysicsCollider PhysicsCollider 类用于创建物理碰撞器。 Hierarchy CannonPhysicsTriggerComponent CannonPhysicsCollider CannonRigidbody3D Index Constructors constructor Properti...

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

166. 角色模型的材质列表切换后,不播放动作了 [ 77%]

... Laya.Shader3D.PERIOD_SPRITE], 'u_texture': [CustomMaterial.DIFFUSETEXTURE_ID, Laya.Shader3D.PERIOD_MATERIAL] }; var customShader = Laya.Shader3D.nameKey.add("CustomShader"); var vs = "attribute vec4 a_Position;\n" + "attribute vec2 a_Texcoord;\n" + "uniform mat4 u_MvpMatrix;\n" + "uniform mat4 u_Wo...

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

167. 关于确认框机制:Laya是如何实现js的if(window.confirm('你确定要取消交易吗?'))机制 [ 77%]

...绑定的某一项的“删除”按钮,获取要删除项对应的item_id。 2、此时调起确认框询问用户是否确认删除。 3、用户点击确认框中的“确认”按钮,返回true。 4、调起程序获得返回的true值,将第1步中获取的item_id传入下一个方法中...

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

168. 获取位置信息 · LayaAir3.3 · 引擎文档 · LAYABOX [ 77%]

... static getCurrentPosition(onSuccess: Handler, onError: Handler = null): void { Geolocation.navigator.geolocation.getCurrentPosition(function (pos: any): void { Geolocation.position.setPosition(pos); onSuccess.runWith(Geolocation.position); }, function (error: any): void { onError.runWith(error); },...

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

169. laya.resource.RenderTexture_API3.0 [ 77%]

...s IRenderTarget Index Constructors constructor Properties _generateMipmap _id _inPool _isCameraTarget _renderTarget destroyedImmediately lock name url uuid DEBUG Accessors anisoLevel baseMipmapLevel colorFormat compareMode cpuMemory defaultTexture depthStencilFormat depthStencilTexture destroyed dim...

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

170. laya.physics.joint.MotorJoint_API3.0 [ 77%]

...MotorJoint Index Constructors constructor Properties _extra _singleton collideConnected otherBody owner runInEditor scriptPath selfBody Accessors angularOffset awaked correctionFactor destroyed enabled hideFlags id joint linearOffset maxForce maxTorque Methods _initialize _setOwner destroy hasHideFl...

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