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

大约有 2,159 项符合查询结果, 库内数据总量为 31,671 项。 (搜索耗时: 0.0052 秒)

1201. 将一个Number类型的变量赋给一个int型变量,转换后为何没有自动取整呢? [ 66%]

...  原生例子:  var num:int = 2340923944589; transfrom(num); public function transfrom(value:uint):void { trace(value); } 兼容H5写法:  var num:int = 2340923944589; transfrom(num); public function transfrom(value:uint):void { trace(uint(value)); } (3)、除法运算取整描述:   ...

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

1202. laya.components.Animation2DCondition_API3.0 [ 66%]

...ype Animation2DCondition checkValue id type Legend Object literal Variable Function Type alias Class Class with type parameter Property Enumeration Interface

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

1203. 导出的3D资源加载报错 [ 66%]

...      private var _stateMachine:StateMachine;         public function LayaSample()         {             Laya3D.init(1000, 500,true); //适配模式 Laya.stage.scaleMode = Stage.SCALE_FULL; Laya.stage.screenMode = Stage.SCREEN_NONE; //开启统计信息 Stat.show();...

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

1204. 屏幕适配-对齐模式 [ 66%]

... import laya.display.Stage; public class SmartScale_Align_Contral { public function SmartScale_Align_Contral() { Laya.init(100, 100); Laya.stage.scaleMode = Stage.SCALE_NOSCALE; Laya.stage.alignH = Stage.ALIGN_CENTER; Laya.stage.alignV = Stage.ALIGN_MIDDLE; Laya.stage.bgColor = "#232628"; } } }

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

1205. laya.d3.component.staticmesh.StaticBatchSubInfo_API3.0 [ 66%]

...rt meshBounds needRender StaticBatchSubMesh Legend Object literal Variable Function Type alias Class Class with type parameter Constructor Property Enumeration Interface

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

1206. laya.d3.component.AnimatorPlayState_API3.0 [ 66%]

...uctor animatorState duration normalizedTime Legend Object literal Variable Function Type alias Class Class with type parameter Constructor Enumeration Interface

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

1207. laya.d3.core.scene.bvh.BVHSpatialManager_API3.0 [ 66%]

...BVHSpatialManager constructor clear destroy Legend Object literal Variable Function Type alias Class Class with type parameter Constructor Method Enumeration Interface

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

1208. laya.d3.Touch_API3.0 [ 66%]

...er position _getIndexInList _setIndexInList Legend Object literal Variable Function Type alias Class Class with type parameter Method Enumeration Interface

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

1209. 射线检测-碰撞器混合 [ 66%]

... ]; Laya.loader.create(resource, Laya.Handler.create(this, onLoadFinish)); function onLoadFinish() { this.scene = Laya.stage.addChild(Laya.Scene.load("../../res/threeDimen/scene/ColliderScene/ColliderDemo.ls")); //初始化照相机 this.camera = this.scene.addChild(new Laya.Camera(0, 0.1, 100)); th...

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

1210. 文本-多行输入 [ 66%]

...rowser; import laya.webgl.WebGL; public class Text_InputMultiline { public function Text_InputMultiline() { // 不支持WebGL时自动切换至Canvas Laya.init(Browser.clientWidth, Browser.clientHeight, WebGL); Laya.stage.alignV = Stage.ALIGN_MIDDLE; Laya.stage.alignH = Stage.ALIGN_CENTER; Laya.stag...

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