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

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

131. 导航标签组组件 · LayaAir3.0文档 · LAYABOX [ 76%]

...垂直排列)和horizontal(水平排列)两种 selectedIndex 选择索引,默认为0。设置后,导航标签会保持选中状态。索引数量会根据labels数量(标签数量)动态改变 labelFont 文本标签的字体 labelSize 文本标签的字体大小 labelBold 文本标签...

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

132. laya.d3.core.light.LightSprite [ 76%]

...。 Node addChildAt(node:Node, index:int):Node 添加子节点到指定的索引位置。 Node addChildren(... args):void 批量增加子节点 Node addComponent(type:Class):* 添加组件。 Node addComponentIntance(comp:Component):* 添加组件实例。 Node addInputChild(node:Node):NodeNode...

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

133. laya.d3.shader.Shader3D [ 76%]

...haderCompile3D。 Shader3D  getSubShaderAt(index:int):SubShader 在特定索引获取子着色器。 Shader3D  propertyNameToID(name:String):int[static] 通过Shader属性名称获得唯一ID。 Shader3DPublic Constants ConstantDefined By  PERIOD_CAMERA : int = 3[static] shader变量提交周...

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

134. laya.d3.core.MeshTerrainSprite3D_API3.0 [ 76%]

....addChildAt Defined in laya/display/Node.ts:254 添加子节点到指定的索引位置。 Parameters node: Node 节点对象。 index: number 索引位置。 Returns Node 返回添加的节点。 addChildren addChildren(...args: any[]): void Inherited from Node.addChildren Defined in laya/display/N...

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

135. 动画-图集动画 [ 76%]

...; // 设置播放间隔(单位:毫秒) ani.index = 1; // 当前播放索引 ani.play(); // 播放图集动画 // 获取动画的边界信息 let bounds = ani.getGraphicBounds(); ani.pivot(bounds.width / 2, bounds.height / 2); ani.pos(Laya.stage.width / 2, Laya.stage.height / 2); } } new Animat...

来源: Laya2.0_示例 发布时间: 20240930

136. 动画-图集动画 [ 75%]

...; // 设置播放间隔(单位:毫秒) ani.index = 1; // 当前播放索引 ani.play(); // 播放图集动画 // 获取动画的边界信息 var bounds = ani.getGraphicBounds(); ani.pivot(bounds.width / 2, bounds.height / 2); ani.pos(Laya.stage.width / 2, Laya.stage.height / 2); Laya.stage.add...

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

137. laya.d3.core.trail.TrailSprite3D [ 75%]

...。 Node addChildAt(node:Node, index:int):Node 添加子节点到指定的索引位置。 Node addChildren(... args):void 批量增加子节点 Node addComponent(type:Class):* 添加组件。 Node addComponentIntance(comp:Component):* 添加组件实例。 Node addInputChild(node:Node):NodeNode...

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

138. laya.d3.core.material.PBRMaterial_API3.0 [ 75%]

.../Material.ts:585 获得bool属性值 Parameters uniformIndex: number 属性索引 Returns boolean getBuffer getBuffer(name: string): Float32Array Inherited from Material.getBuffer Defined in laya/d3/core/material/Material.ts:955 获得Buffer Parameters name: string 属性名称 Returns Float32Array ...

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

139. 分享:Dragonbones/Spine的换肤操作 [ 75%]

...作        目前LayaAir下支持龙骨的局部换肤(根据插槽索引换肤、根据插槽name换肤、纹理换肤、网格换肤)、全局换肤        需注意:      1、Dragonbones不支持全局换肤,Spine支持全局换肤      2、使用到IK和网格的动画需...

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

140. laya.d3.core.MeshSprite3D_API3.0 [ 75%]

....addChildAt Defined in laya/display/Node.ts:264 添加子节点到指定的索引位置。 Parameters node: Node 节点对象。 index: number 索引位置。 Returns Node 返回添加的节点。 addChildren addChildren(...args: any[]): void Inherited from Node.addChildren Defined in laya/display/N...

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