大约有 696 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0044 秒)
Laya3.0_api(324) Laya2.0_api(134) laya_api(106) Laya_社区(97) Laya2.0_文档(23) Laya3.0_文档(11) Laya2.0_示例(1)
.../renders/Render.ts:30 表示是否是 3D 模式。 Accessors Static canvas get canvas(): any Defined in laya/renders/Render.ts:234 渲染使用的原生画布引用。 Returns any Static context get context(): Context Defined in laya/renders/Render.ts:229 目前使用的渲染器。 Returns Context ...
来源: Laya3.0_api 发布时间: 20231115
...材质上,应该怎么做呢? Laya_phhh • 2023-09-06 10:02 set变成get呗,看一下shaderData的代码,就算是pbrMat的albedoTex的get也是调的ShaderData的get方法
来源: Laya_社区 发布时间: 20230905
...存。 ResourceManager dispose():void 释放资源。ResourceManager getLoadedResourceManagerByIndex(index:int):ResourceManager[static] 获取指定索引的资源管理器。 ResourceManager getLoadedResourceManagersCount():int[static] 获取资源管理器总个数。 ResourceManager g...
来源: laya_api 发布时间: 20170422
...ner.on(Event.MOUSE_DOWN,this,onDown); } else { return; } } public function get isScale():Boolean { return _isScal; } public function set isScale(isScal:Boolean):void { this._isScal=isScal; } private function onDown():void { //按下,按钮进行缩放 _owner.scale(.8,.8); _owner.on(Event.MOUSE_UP,...
来源: Laya_社区 发布时间: 20161014
...ater clearTimer contains destroy destroyChildren event frameLoop frameOnce getChildAt getChildByName getChildIndex getComponent getComponents hasHideFlag hasListener isAncestorOf off offAll offAllCaller on onAfterDeserialize onAwake onDestroy onDisable onEnable once removeChild removeChildAt removeC...
来源: Laya3.0_api 发布时间: 20231115
...r [read-only] 获取总时间。 Implementation public function get duration():NumberisStoppedproperty public var isStopped:Boolean = false 表示声音是否已暂停。 loopsproperty public var loops:int 循环次数。 positionproperty position:Number [read-only] 获取当前播...
来源: laya_api 发布时间: 20170929
...learTimer clone contains destroy destroyChildren event frameLoop frameOnce getChildAt getChildByName getChildIndex getComponent getComponents getHeight hasHideFlag hasListener isAncestorOf off offAll offAllCaller on onAfterDeserialize onAwake onDestroy onDisable onEnable once removeChild removeChild...
来源: Laya3.0_api 发布时间: 20231102
...undBox Accessors max min Methods calculateBoundsintersection clone cloneTo getCenter getExtent getMax getMin setCenter setExtent setMax setMin Constructors constructor new BoundsImpl(min?: Vector3, max?: Vector3): BoundsImpl Defined in laya/d3/math/BoundsImpl.ts:138 创建一个 BoundsImp 实例。 ...
来源: Laya3.0_api 发布时间: 20231115
...据绘制内容获取宽高,可以设置本属性为true,或者通过getBounds方法获取。设置为true,对性能有一定影响。 Sprite bgColor : String背景颜色Box blendMode : String指定要使用的混合模式。目前只支持"lighter"。Sprite bottom : Number 从组件底边...
来源: Laya2.0_api 发布时间: 20190513
...etDataByByUniformBufferDataOffset setDataByUniformBufferData unbind create getBuffer Constructors constructor new NativeUniformBufferObject(glPointer: number, name: string, bufferUsage: BufferUsage, byteLength: number, isSingle: boolean): NativeUniformBufferObject Overrides UniformBufferObject.const...
来源: Laya3.0_api 发布时间: 20231115