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

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

621. 图集制作与使用详解(ActionScript-IDE篇(AS3)-使用IDE创作) [ 41%]

...目录名/原小图资源名.png) img.skin = "test/c1.png"; //添加到舞台上显示 Laya.stage.addChild(img); ``` 代码运行效果如图9所示: ![图9](img/9.png) (图9) 如图9所示,我们成功的从图集中取出小图资源并应用到项目中,而代码中的`sink`值`test/c...

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

622. 缓动动画(TypeScript-LayaAir基础篇(TS)-动画基础) [ 41%]

... ```typescript // 程序入口 class TweenDemo{ constructor() { //初始化舞台 Laya.init(1334,750,Laya.WebGL); //背景颜色 Laya.stage.bgColor = "#1b2436"; //创建缓动文本 this.createTween(); } //创建缓动文本 private createTween():void{ //"LayaBox字符串总宽度" var w:number = 80...

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

623. laya.display.AnimationBase_API3.0 [ 41%]

... Stage Inherited 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为非空时此值才有...

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

624. laya.display.FrameAnimation_API3.0 [ 40%]

... Stage Inherited 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为非空时此值才有...

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

625. laya.ui.ComboBox_API3.0 [ 40%]

... Stage Inherited from Text.stage Defined in laya/display/Sprite.ts:1656 对舞台 stage 的引用。 Returns Stage stateNum get stateNum(): number set stateNum(value: number): void Defined in laya/ui/ComboBox.ts:710 表示按钮的状态值。 see laya.ui.Button#stateNum Returns number Defined in la...

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

626. laya.physics.PhysicsDebugDraw_API3.0 [ 40%]

... Stage Inherited 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为非空时此值才有...

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

627. 缓动动画(ActionScript-LayaAir基础篇(AS3)-动画基础) [ 40%]

....WebGL; public class TweenDemo { public function TweenDemo() { // 初始化舞台 Laya.init(1334,750, WebGL); //背景颜色 Laya.stage.bgColor = "#1b2436"; //创建缓动文本 createTween(); } //创建缓动文本 private function createTween():void { //"LayaBox"字符串总宽度 var w:int = 800;...

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

628. laya.ani.bone.Skeleton [ 40%]

...默认值为0。以角度为单位。Sprite stage : Stage[read-only] 对舞台 stage 的引用。Sprite staticCache : Boolean 是否静态缓存此对象的当前帧的最终属性。为 true 时,子对象变化时不会自动更新缓存,但是可以通过调用 reCache 方法手动刷新。 ...

来源: laya_api 发布时间: 20170929

629. laya.ui.Dialog [ 40%]

...默认值为0。以角度为单位。Sprite stage : Stage[read-only] 对舞台 stage 的引用。Sprite staticCache : Boolean 是否静态缓存此对象的当前帧的最终属性。为 true 时,子对象变化时不会自动更新缓存,但是可以通过调用 reCache 方法手动刷新。 ...

来源: laya_api 发布时间: 20170929

630. laya.map.TileAniSprite_API3.0 [ 40%]

... Stage Inherited 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为非空时此值才有...

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