大约有 324 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0142 秒)
...以角度为单位。Sprite stage : Stage[read-only] 对舞台 stage 的引用。Sprite staticCache : Boolean设置cacheAs为非空时此值才有效,staticCache=true时,子对象变化时不会自动更新缓存,只能通过调用reCache方法手动刷新。Sprite style : HTMLStyle[read-...
来源: Laya2.0_api 发布时间: 20190513
...oller: CameraController; onStart() { // 初始化组件引用 this.playerScript = this.player.getComponent(Player); this.joystickScript = this.joystick.getComponent(Joystick); this.cameraController = this.camera.getComponent(CameraController);...
来源: Laya_社区 发布时间: 20251125
...AnimationPlayer Defined in laya/ani/bone/Skeleton.ts:177 得到播放器的引用 Returns AnimationPlayer rotation get rotation(): number set rotation(value: number): void Inherited from Text.rotation Defined in laya/display/Sprite.ts:777 旋转角度,默认值为0。以角度为单位。 Returns ...
来源: Laya3.0_api 发布时间: 20231115
...以角度为单位。Sprite stage : Stage[read-only] 对舞台 stage 的引用。Sprite staticCache : Boolean 是否静态缓存此对象的当前帧的最终属性。为 true 时,子对象变化时不会自动更新缓存,但是可以通过调用 reCache 方法手动刷新。 注意: 1.Spri...
来源: laya_api 发布时间: 20170929
...以角度为单位。Sprite stage : Stage[read-only] 对舞台 stage 的引用。Sprite staticCache : Boolean设置cacheAs为非空时此值才有效,staticCache=true时,子对象变化时不会自动更新缓存,只能通过调用reCache方法手动刷新。Sprite tempCmd : *Particle2D ...
来源: Laya2.0_api 发布时间: 20190513
...allfile.txt为版本信息) 3.在native下,为了避免index.html中引用的js入口文件过大,我采取了分模块编译的方式,即是将引擎和1个入口类做出基础js,其他代码编译成模块js,这样会有两个问题,就是这个编译出来的js比较大,在执...
来源: Laya_社区 发布时间: 20180627
...新增了两个模块 所以别忘记 上一节我们说到的 要在页面引用响应的JS哦 我们刷新页面看看 我们会看到地板从屏幕右边慢慢的跑出来了 ~~~ 既然是跑酷 一个地板肯定是不够的~~ 我们来增加多一点地板 首先我们想一下 如何增加...
来源: Laya_社区 发布时间: 20160728
... sizeGrid, 可以选择在纹理资源上统一设置。 这样,所有引用该纹理的 UI 元素都会自动继承九宫格属性,避免重复设置,提升效率与一致性。 3.2 按钮皮肤状态 stateNum 按钮皮肤状态 用于定义按钮在不同交互状态下所对应的纹理...
来源: Laya3.0_文档 发布时间: 20251128
... from Text.stage Defined in laya/display/Sprite.ts:1656 对舞台 stage 的引用。 Returns Stage staticCache get staticCache(): boolean set staticCache(value: boolean): void Inherited from Text.staticCache Defined in laya/display/Sprite.ts:389 设置cacheAs为非空时此值才有效,staticCache...
来源: Laya3.0_api 发布时间: 20231115
...mationBase.stage Defined in laya/display/Sprite.ts:1599 对舞台 stage 的引用。 Returns Stage staticCache get staticCache(): boolean set staticCache(value: boolean): void Inherited from AnimationBase.staticCache Defined in laya/display/Sprite.ts:380 设置cacheAs为非空时此值才有效,st...
来源: Laya3.0_api 发布时间: 20231102