大约有 1,150 项符合查询结果, 库内数据总量为 30,900 项。 (搜索耗时: 0.0058 秒)
Laya3.0_api(314) Laya_社区(291) Laya2.0_api(226) laya_api(174) Laya2.0_文档(113) Laya3.0_文档(29) Laya2.0_示例(3)
...CannonPhysicsCollider Class CannonPhysicsCollider PhysicsCollider 类用于创建物理碰撞器。 Hierarchy CannonPhysicsTriggerComponent CannonPhysicsCollider CannonRigidbody3D Index Constructors constructor Properties _extra _singleton canScaleShape owner runInEditor scriptPath Accessors awaked ...
来源: Laya3.0_api 发布时间: 20231102
...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
...那么我们就来修改下,看看怎么改变样式。 ```typescript //创建隐藏的file并且把它和按钮对齐。达到位置一致,这里我们默认在0点位置 var file:any = Laya.Browser.document.createElement("input"); //设置file样式 file.style="filter:alpha(opacity=0);opacity:...
来源: Laya2.0_文档 发布时间: 20210715
...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
...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
...用renderTarget缓存。 webgl下renderTarget缓存模式缺点:会额外创建renderTarget对象,增加内存开销,缓存面积有最大2048限制,不断重绘时会增加CPU开销。优点:大幅减少drawcall,渲染性能最高。 webgl下命令缓存模式缺点:只会减少节点...
来源: laya_api 发布时间: 20170929
...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
...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
... 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
...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