大约有 350 项符合查询结果, 库内数据总量为 30,778 项。 (搜索耗时: 0.0062 秒)
Laya_社区(97) Laya_示例(78) Laya2.0_示例(68) Laya3.0_api(55) Laya2.0_文档(35) Laya3.0_文档(6) laya_api(6) Laya2.0_api(5)
...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
...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
...60); } /***滚动条位置变化回调***/ private function onChange(value:Number):void { promptText.text= "滚动条的位置: value=" + value; } } } ```
来源: Laya2.0_文档 发布时间: 20210715
...50); } /***滚动条位置变化回调***/ private function onChange(value:Number):void { promptText.text= "滚动条的位置: value=" + value; } } } ```
来源: Laya2.0_文档 发布时间: 20210714
...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
...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
...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
...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
... 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
...ollBar.y-50); } /***滚动条位置变化回调***/ private onChange(value:Number):void { this.promptText.text= "滚动条的位置: value=" + value; } } } new laya.UI_ScrollBar(); ```
来源: Laya2.0_文档 发布时间: 20210715