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

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

1041. laya.d3.physicscannon.CannonPhysicsCollider_API3.0 [ 44%]

...CannonPhysicsCollider Class CannonPhysicsCollider PhysicsCollider 类用于创建物理碰撞器。 Hierarchy CannonPhysicsTriggerComponent CannonPhysicsCollider CannonRigidbody3D Index Constructors constructor Properties _extra _singleton canScaleShape owner runInEditor scriptPath Accessors awaked ...

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

1042. LayaAir和原生DOM交互(JavaScript-2D进阶篇(JS)-扩展模块) [ 44%]

...ded(){ var btn = new Laya.Button("res/a.png"); Laya.stage.addChild(btn); //创建隐藏的file并且把它和按钮对齐。达到位置一致,这里我们默认在0点位置 var file = Laya.Browser.document.createElement("input"); //设置file样式 file.style="filter:alpha(opacity=0);opacity:0;w...

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

1043. LayaAir和原生DOM交互(TypeScript-2D进阶篇(TS)-扩展模块) [ 44%]

...那么我们就来修改下,看看怎么改变样式。 ```typescript //创建隐藏的file并且把它和按钮对齐。达到位置一致,这里我们默认在0点位置 var file:any = Laya.Browser.document.createElement("input"); //设置file样式 file.style="filter:alpha(opacity=0);opacity:...

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

1044. laya.resource.RenderTexture2D [ 44%]

...nceRenderTexture2D BaseTexture laya.resource.Bitmap RenderTexture 类用于创建渲染目标。 Public Properties Hide Inherited Public Properties Show Inherited Public Properties PropertyDefined By anisoLevel : int 各向异性等级 BaseTexture  currentActive : RenderTexture2D[static] [read-o...

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

1045. laya.net.URL_API3.0 [ 43%]

...uctors constructor new URL(url: string): URL Defined in laya/net/URL.ts:51 创建一个新的 URL 实例。 Parameters url: string Returns URL Properties Static basePath basePath: string = "" Defined in laya/net/URL.ts:16 基础路径。如果不设置,默认为当前网页的路径。最终地址...

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

1046. laya.ui.List [ 43%]

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

来源: laya_api 发布时间: 20170929

1047. laya.d3.animation.AnimationTransform3D_API3.0 [ 43%]

...imationTransform3D Defined in laya/d3/animation/AnimationTransform3D.ts:30 创建一个 Transform3D 实例。 Parameters owner: AnimationNode 所属精灵。 Returns AnimationTransform3D Methods event event(type: string, data?: any): boolean Inherited from EventDispatcher.event Defined in laya/event...

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

1048. laya.d3.core.render.ScreenTriangle_API3.0 [ 43%]

...creenTriangle" ScreenTriangle Class ScreenTriangle ScreenTriangle 类用于创建全屏三角形。 Hierarchy Resource ScreenTriangle Index Constructors constructor Properties destoryedImmediately lock name url uuid DEBUG Accessors cpuMemory destroyed gpuMemory id obsolute referenceCount cpuMemory g...

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

1049. laya.d3.core.light.Light_API3.0 [ 43%]

... Globals "laya/d3/core/light/Light" Light Class Light LightSprite 类用于创建灯光的父类。 Hierarchy Component Light SpotLightCom DirectionLightCom PointLightCom AreaLightCom Index Constructors constructor Properties _extra _singleton color owner runInEditor scriptPath Accessors awaked dest...

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

1050. laya.d3.core.material.PBRSpecularMaterial [ 43%]

...s Show Inherited Public Methods MethodDefined By  PBRSpecularMaterial() 创建一个 PBRSpecularMaterial 实例。 PBRSpecularMaterial _addReference(count:int = 1):void[override] BaseMaterial _parse(data:*, propertyParams:Object = null, constructParams:Array = null):BaseMaterial[static] BaseMat...

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