大约有 85 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0320 秒)
...Defined in laya/display/Stage.ts:171 场景类,引擎中只有一个stage实例,此实例可以通过Laya.stage访问。 Returns Stage Properties Optional _extra _extra: INodeExtra Inherited from Node._extra Defined in laya/display/Node.ts:56 _ownGraphics _ownGraphics: boolean = false Inherited ...
来源: Laya3.0_api 发布时间: 20231115
...nu Globals "laya/maths/Color" Color Class Color Color 类用于创建颜色实例。 Hierarchy Color Implements IClone Index Constructors constructor Properties a b g r BLACK BLUE CLEAR CYAN GRAY GREEN MAGENTA RED WHITE YELLOW Methods clone cloneTo equal fromArray scale setValue toArray toGamma toLi...
来源: Laya3.0_api 发布时间: 20231115
...富功能的同时,又达到高性能。 example 创建了一个 Sprite 实例。 package { import laya.display.Sprite; import laya.events.Event; public class Sprite_Example { private var sprite:Sprite; private var shape:Sprite public function Sprite_Example() { Laya.init(640, 800);//设置游戏...
来源: Laya3.0_api 发布时间: 20231115
... Globals "laya/d3/math/Color" Color Class Color Color 类用于创建颜色实例。 Hierarchy Color Implements IClone Index Constructors constructor Properties a b g r BLACK BLUE CLEAR CYAN GRAY GREEN MAGENTA RED WHITE YELLOW Methods clone cloneTo equal fromArray scale setValue toArray toGamma toLi...
来源: Laya3.0_api 发布时间: 20231102
...er Class Timer Timer 是时钟管理类。它是一个单例,不要手动实例化此类,应该通过 Laya.timer 访问。 Hierarchy Timer Index Constructors constructor Properties currFrame currTimer scale Accessors delta Methods callLater clear clearAll clearCallLater destroy frameLoop frameOn...
来源: Laya3.0_api 发布时间: 20231115
...ape/CannonSphereColliderShape.ts:16 创建一个新的 SphereColliderShape 实例。 Parameters Default value radius: number = 0.5 半径。 Returns CannonSphereColliderShape Properties needsCustomCollisionCallback needsCustomCollisionCallback: boolean = false Inherited from CannonColliderShape.need...
来源: Laya3.0_api 发布时间: 20231102
...Defined in laya/ui/DialogManager.ts:48 创建一个新的 DialogManager 类实例。 Returns DialogManager Properties Optional _extra _extra: INodeExtra Inherited from Node._extra Defined in laya/display/Node.ts:56 _ownGraphics _ownGraphics: boolean = false Inherited from Text._ownGraphics Defined i...
来源: Laya3.0_api 发布时间: 20231115
...异步加载。 example 以下示例代码,创建了一个新的 Image 实例,设置了它的皮肤、位置信息,并添加到舞台上。 package { import laya.ui.Image; public class Image_Example { public function Image_Example() { Laya.init(640, 800);//设置游戏画布宽高。 Laya.stag...
来源: Laya3.0_api 发布时间: 20231115
...non/shape/CannonBoxColliderShape.ts:44 创建一个新的 BoxColliderShape 实例。 Parameters Default value sizeX: number = 1 盒子X轴尺寸。 Default value sizeY: number = 1 盒子Y轴尺寸。 Default value sizeZ: number = 1 盒子Z轴尺寸。 Returns CannonBoxColliderShape Properties needsC...
来源: Laya3.0_api 发布时间: 20231102
...CannonCompoundColliderShape.ts:22 创建一个新的 CompoundColliderShape 实例。 Returns CannonCompoundColliderShape Properties needsCustomCollisionCallback needsCustomCollisionCallback: boolean = false Inherited from CannonColliderShape.needsCustomCollisionCallback Defined in laya/d3/physicsCan...
来源: Laya3.0_api 发布时间: 20231102