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

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

131. laya.display.css.SpriteStyle_API3.0 [ 84%]

... scaleX scaleY scrollRect skewX skewY viewport EMPTY Methods recover reset create Constructors constructor new SpriteStyle(): SpriteStyle Defined in laya/display/css/SpriteStyle.ts:38 Returns SpriteStyle Properties alpha alpha: number Defined in laya/display/css/SpriteStyle.ts:28 透明度 blendMode...

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

132. laya.d3.renderobjs.nativeobj.NativeUniformBufferObject_API3.0 [ 83%]

...tData setDataByByUniformBufferDataOffset setDataByUniformBufferData unbind create getBuffer Constructors constructor new NativeUniformBufferObject(glPointer: number, name: string, bufferUsage: BufferUsage, byteLength: number, isSingle: boolean): NativeUniformBufferObject Overrides UniformBufferObjec...

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

133. PBRStandardMaterial材质详解(JavaScript-3D基础(JS)-模型材质详解) [ 83%]

...PBR Barrel/Materials/Textures/Barrel_AlbedoTransparency.png', Laya.Handler.create(this, function (texture) { this.mat.albedoTexture = texture; })); //法线贴图 Laya.Texture2D.load('res/threeDimen/scene/PBRMaterialScene/Assets/PBR Barrel/Materials/Textures/Barrel_Normal.png', Laya.Handler.create(t...

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

134. 高级应用-渲染纹理 [ 83%]

...d("../../res/threeDimen/staticModel/LayaPlane/LayaPlane.lh")); Laya.loader.create([ "../../res/threeDimen/scene/Arena/Arena.ls", "../../res/threeDimen/staticModel/LayaPlane/LayaPlane.lh" ], Laya.Handler.create(this, onComplete)); function onComplete() { setMaterials(scene.getChildByName("scene")); l...

来源: Laya_示例 发布时间: 20241118

135. Laya2.6.0 升级至Laya2.8.0 Native环境 加载ttf 字体不生效 [ 83%]

...        Laya.loader.load("res/fonts/OPPOSANS-R.TTF", Laya.Handler.create(this, (success: boolean) => {                 if (!success) {                     console.error("OPPOSANS-R ttf 字体加载失败");                 } el...

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

136. PBRStandardMaterial材质详解(TypeScript-3D基础(TS)-模型材质详解) [ 83%]

...PBR Barrel/Materials/Textures/Barrel_AlbedoTransparency.png', Laya.Handler.create(this, function(texture) { mat.albedoTexture = texture; })); //法线贴图 Laya.Texture2D.load('res/threeDimen/scene/PBRMaterialScene/Assets/PBR Barrel/Materials/Textures/Barrel_Normal.png', Laya.Handler.create(this, f...

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

137. laya.d3.core.render.InstanceRenderElement_API3.0 [ 83%]

...tSubShader _renderUpdatePre clear compileShader recover updateInstanceData create Constructors constructor new InstanceRenderElement(): InstanceRenderElement Overrides RenderElement.constructor Defined in laya/d3/core/render/InstanceRenderElement.ts:48 Returns InstanceRenderElement Properties _batch...

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

138. 预加载mp3文件 [ 83%]

...自: sevennqi Laya.loader.load([{url:"xxx.mp3",type:Loader.SOUND}],Handler.create(this,onComped)) 2018-01-18 1 1 分享 微博 QZONE 微信 sevennqi 赞同来自: 可以和图片, push到同一个var res:Array = []里么?   Laya.loader.load(res, Handler.create(this,onComped)) 2018-01-18 0 0 分...

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

139. Laya.Tween.to 有没有监听值的变化的方法? [ 83%]

...化的属性列表,比如{x:100,y:20,ease:Ease.backOut,complete:Handler.create(this,onComplete),update:new Handler(this,onComplete)}。          * @param   duration 花费的时间,单位毫秒。          * @param   ease 缓动类型,默认为匀速运动。       ...

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

140. laya.d3.core.render.command.BlitScreenQuadCMD_API3.0 [ 83%]

...ctor Accessors shaderData Methods destroy recover run setContext setshader create Constructors constructor new BlitScreenQuadCMD(): BlitScreenQuadCMD Overrides Command.constructor Defined in laya/d3/core/render/command/BlitScreenQuadCMD.ts:67 Returns BlitScreenQuadCMD Accessors shaderData set shader...

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