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

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

321. Spine适配版(TypeScript-LayaAir基础篇(TS)-动画基础) [ 48%]

...ya.SpineTempletBinary; private skeleton:Laya.SpineSkeleton; private index: number = -1; constructor() { Laya.init(Laya.Browser.width, Laya.Browser.height,Laya.WebGL); Laya.stage.scaleMode = Laya.Stage.SCALE_NOSCALE; Laya.stage.bgColor = "#232628"; Laya.Stat.show(); this.startFun(); } private startFu...

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

322. 材质-物理基础渲染材质 [ 48%]

...or (var y = mnum; y >= 0; y--) { for (var x = 0; x = 0; y--) { for (var x: number = 0; x =0; y--) { for ( var x:int = 0; x < rnum; x++) { var mtl:PBRMaterial = new PBRMaterial(); mtl.use_groundtruth = false; mtl.diffuseTexture = Texture2D.load('../../../../res/threeDimen/pbr/c1.png'); mtl.normalText...

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

323. VScrollBar属性详解(ActionScript-IDE篇(AS3)-IDE组件属性详解) [ 48%]

...60); } /***滚动条位置变化回调***/ private function onChange(value:Number):void { promptText.text= "滚动条的位置: value=" + value; } } } ```

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

324. HScrollBar属性详解(ActionScript-IDE篇(AS3)-IDE组件属性详解) [ 48%]

...50); } /***滚动条位置变化回调***/ private function onChange(value:Number):void { promptText.text= "滚动条的位置: value=" + value; } } } ```

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

325. 3D寻路 · LayaAir3.0文档 · LAYABOX [ 48%]

...atic createFromMeshAndHeightMap(mesh: Mesh, texture: Texture2D, minHeight: number, maxHeight: number, name: string = null): MeshTerrainSprite3D { var meshTerrainSprite3D: MeshTerrainSprite3D = new MeshTerrainSprite3D(mesh, null, name); meshTerrainSprite3D._initCreateFromMeshHeightMap(texture, minHei...

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

326. laya.d3.core.scene.Scene3D_API3.0 [ 48%]

...ns Scene3D Properties _ShadowMapupdateFrequency _ShadowMapupdateFrequency: number = 1 Defined in laya/d3/core/scene/Scene3D.ts:425 lightShadowMap 更新频率 @internal Optional _extra _extra: INodeExtra Inherited from Node._extra Defined in laya/display/Node.ts:56 _ownGraphics _ownGraphics: boolean...

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

327. 动画不显示 [ 48%]

...e var m_IsMoving:Boolean = false;         private var m_MovStartTime:Number = 0;         private var m_MovNeedMs:Number = 0 ;          private var m_speed:Number = 150; //每秒移动像素         private var m_curdirection:int = 0 ;         private var m_curaniname:S...

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

328. Spine适配版(ActionScript-LayaAir基础篇(AS3)-动画基础) [ 48%]

...SpineTempletBinary; private var skeleton:SpineSkeleton; private var index: Number = -1; public function Main() { Laya.init(Browser.width, Browser.height, WebGL); Laya.stage.scaleMode = Stage.SCALE_NOSCALE; Laya.stage.bgColor = "#232628"; Stat.show(); this.startFun(); } private function startFun(): v...

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

329. Clip属性详解(TypeScript-IDE篇(TS)-IDE组件属性详解) [ 47%]

... string = "res/ui/coutDown.png"; private counter: Clip; private currFrame: number; private controller: Button; constructor() { // 不支持WebGL时自动切换至Canvas Laya.init(800, 600, WebGL); Laya.stage.alignV = Stage.ALIGN_MIDDLE; Laya.stage.alignH = Stage.ALIGN_CENTER; Laya.stage.scaleMode = ...

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

330. HScrollBar属性详解(TypeScript-IDE篇(TS)-IDE组件属性详解) [ 46%]

...ollBar.y-50); } /***滚动条位置变化回调***/ private onChange(value:Number):void { this.promptText.text= "滚动条的位置: value=" + value; } } } new laya.UI_ScrollBar(); ```

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