大约有 651 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0288 秒)
...ller(); } /***创建水平滚动条***/ private createHScroller():void { //实例化垂直滚动条 this.hScrollBar= new HScrollBar(); //加载皮肤资源(其他资源根据规范命名后,会自动加载) this.hScrollBar.skin = "res/ui/hscroll.png"; //设置宽度 this.hScrollBar.width = 400...
来源: Laya2.0_文档 发布时间: 20210715
...ller(); } /***创建水平滚动条***/ private createVScroller():void { //实例化垂直滚动条 this.vScrollBar= new VScrollBar(); //加载皮肤资源(其他资源根据规范命名后,会自动加载) this.vScrollBar.skin = "res/ui/vscroll.png"; //设置宽度 this.vScrollBar.width = 400...
来源: Laya2.0_文档 发布时间: 20210715
...26 • 2017-11-06 16:47 Laya.ClassUtils.getInstance这个不能用来创建实例吗?我用了一直都是null
来源: Laya_社区 发布时间: 20170922
.../component/SimpleSingletonList.ts:7 创建一个新的 SimpleSingletonList 实例。 Returns SimpleSingletonList Methods clearElement clearElement(): void Defined in laya/d3/component/SimpleSingletonList.ts:52 Returns void Globals "laya/d3/component/SimpleSingletonList" SimpleSingletonList construct...
来源: Laya3.0_api 发布时间: 20231102
...ined in laya/d3/physicsCannon/CannonHitResult.ts:17 创建一个 HitResult 实例。 Returns CannonHitResult Properties collider collider: CannonPhysicsComponent = null Defined in laya/d3/physicsCannon/CannonHitResult.ts:11 发生碰撞的碰撞组件。 hitFraction hitFraction: number = 0 Defined i...
来源: Laya3.0_api 发布时间: 20231102
...n laya/d3/component/AnimatorPlayState.ts:47 创建一个 AnimatorPlayState 实例。 Returns AnimatorPlayState Accessors animatorState get animatorState(): AnimatorState Defined in laya/d3/component/AnimatorPlayState.ts:45 动画状态机。 Returns AnimatorState duration get duration(): number Defi...
来源: Laya3.0_api 发布时间: 20231102
...nstructor Defined in laya/display/Input.ts:102 创建一个新的 Input 类实例。 Returns Input Properties Optional _extra _extra: INodeExtra Inherited from Node._extra Defined in laya/display/Node.ts:56 _onPostLayout _onPostLayout: () => void Inherited from Text._onPostLayout Defined in laya/...
来源: Laya3.0_api 发布时间: 20231115
...获得更真实的空间体验。 移动摄像机: ```typescript //实例化一个相机,设置纵横比,0为自动匹配。0.1最近看到的距离,100最远看到的距离。 var camera = new Laya.Camera(0, 0.1, 100) //移动相机,设置相机的向z轴移动 3。true代表是局部...
来源: Laya2.0_文档 发布时间: 20210714
...from Node.components Defined in laya/display/Node.ts:983 返回所有组件实例。 Returns ReadonlyArray<Component> 返回组件实例数组。 count get count(): number Inherited from AnimationBase.count Defined in laya/display/AnimationBase.ts:269 当前动画中帧的总数。 Returns num...
来源: Laya3.0_api 发布时间: 20231115
...csCannon/CannonPhysicsUpdateList.ts:7 创建一个新的 PhysicsUpdateList 实例。 Returns CannonPhysicsUpdateList Methods destroy destroy(): void Inherited from SingletonList.destroy Defined in laya/utils/SingletonList.ts:69 Returns void indexof indexof(element: CannonPhysicsComponent): number In...
来源: Laya3.0_api 发布时间: 20231102