大约有 1,451 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0046 秒)
Laya3.0_api(470) Laya_社区(447) Laya_示例(152) Laya2.0_示例(119) Laya2.0_api(71) Laya2.0_文档(71) Laya3.0_文档(63) laya_api(58)
...隆。 KeyframeProperty Detailtimepropertypublic var time:Number时间。Constructor DetailKeyframe()Constructorpublic function Keyframe() 创建一个 KeyFrame 实例。 Method Detailclone()method public function clone():* 克隆。 Returns* — 克隆副本。 cloneTo()method public function clo...
来源: Laya2.0_api 发布时间: 20190513
...配置数据 textureproperty protected var texture:Texture 粒子贴图 Constructor DetailParticleTemplateBase()Constructorpublic function ParticleTemplateBase() 创建一个新的 ParticleTemplateBase 类实例。 Method DetailaddParticleArray()method public function addParticleArray(position:Floa...
来源: Laya2.0_api 发布时间: 20190513
...ropertypublic static var defaultRand:RandX基于时间种子的随机数。Constructor DetailRandX()Constructorpublic function RandX(seed:Array) 创建一个 Rand 实例。 Parameters seed:Array — 随机种子。 Method Detailrandom()method public function random():Number 返回[0,1)之间的随...
来源: laya_api 发布时间: 20170929
...ropertypublic static var defaultRand:RandX基于时间种子的随机数。Constructor DetailRandX()Constructorpublic function RandX(seed:Array) 创建一个 Rand 实例。 Parameters seed:Array — 随机种子。 Method Detailrandom()method public function random():Number 返回[0,1)之间的随...
来源: Laya2.0_api 发布时间: 20190513
...a.Sprite{ private static cached:boolean = false; private body:Laya.Sprite; constructor(){ super(); this.init(); } public init():void{ if(!Ball.cached){ Ball.cached = true; this.body = new Laya.Sprite(); this.body.loadImage("war/ball.png"); this.body.pivot(12,12); } this.addChild(this.body); Laya.tim...
来源: Laya_社区 发布时间: 20171108
...lare owner : Laya.Sprite3D; @property({ type: Laya.Text }) txt: Laya.Text; constructor() { super(); } onAwake(): void { this.txt.text = "第{n=1}页"; //显示文本的初始化内容 } onStart(): void { let page: number = 1; Laya.timer.frameLoop(10, this, () => { page += 1; //在定时器中让...
来源: Laya3.0_文档 发布时间: 20251010
...邀请: 与内容相关的链接 提交 2 个回复 星际 赞同来自: constructor() { // 创建动画集 this.createAnimSet(); // 设置所有类型鱼碰撞区域 和 中心点 this.setFishRegionCenterP...
来源: Laya_社区 发布时间: 20180502
...ositionOnBproperty public var positionOnB:Vector3碰撞器B的碰撞点。Constructor DetailContactPoint()Constructorpublic function ContactPoint() 创建一个 ContactPoint 实例。 Mon May 13 2019, 02:40 PM +08:00
来源: Laya2.0_api 发布时间: 20190513
...lor():GradientColorenbaleproperty public var enbale:Boolean是否启用。Constructor DetailColorOverLifetime()Constructorpublic function ColorOverLifetime(color:GradientColor) 创建一个 ColorOverLifetime 实例。 Parameters color:GradientColorMethod Detailclone()method public function clone():...
来源: laya_api 发布时间: 20170929
...lor():GradientColorenbaleproperty public var enbale:Boolean是否启用。Constructor DetailColorOverLifetime()Constructorpublic function ColorOverLifetime(color:GradientColor) 创建一个 ColorOverLifetime 实例。 Parameters color:GradientColorMethod Detailclone()method public function clone():...
来源: Laya2.0_api 发布时间: 20190513