大约有 275 项符合查询结果, 库内数据总量为 30,786 项。 (搜索耗时: 0.0049 秒)
Laya_社区(75) Laya_示例(58) Laya3.0_api(37) Laya2.0_api(28) Laya2.0_示例(24) laya_api(21) Laya2.0_文档(19) Laya3.0_文档(13)
API DocumentationAll Packages | All Classes | Index | Frames No Frames ColorProperties | Methods | Constants Packagelaya.d3.mathClasspublic class ColorInheritanceColor ObjectImplements laya.d3.core.IClone Color 类用于创建颜色实例。 Public Properties PropertyDefined By a : Num...
来源: Laya2.0_api 发布时间: 20190513
...码 希望大家指正 https://my.oschina.net/u/659068/blog/1564002 class Ball extends Laya.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(); th...
来源: Laya_社区 发布时间: 20171108
API DocumentationAll Packages | All Classes | Index | Frames No Frames BoundBoxProperties | Methods Packagelaya.d3.mathClasspublic class BoundBoxInheritanceBoundBox ObjectImplements laya.d3.core.IClone BoundBox 类用于创建包围盒。 Public Properties PropertyDefined By max : Vecto...
来源: Laya2.0_api 发布时间: 20190513
...ript、TypeScript三种开发语言、LayaAirIDE让项目开发更高效。class Physics_Physics_Strandbeests { constructor() { this.scale = 2.5; this.pos = [500, 400]; this.m_offset = [0, -80 * this.scale]; this.pivot = [0, 8 * this.scale]; Laya.Config.isAntialias = true; Laya.Laya.init(1200, 700, ...
来源: Laya2.0_示例 发布时间: 20241125
API DocumentationAll Packages | All Classes | Index | Frames No Frames ViewportProperties | Methods Packagelaya.d3.mathClasspublic class ViewportInheritanceViewport Object Viewport 类用于创建视口。 Public Properties PropertyDefined By height : Number高度Viewport maxDepth : ...
来源: Laya2.0_api 发布时间: 20190513
...} } } // increment the ticker tick += 1; } } } import laya.display.Sprite; class Laser extends Sprite { public var life:int; }
来源: Laya_示例 发布时间: 20241125
...Laya.Handler; import Tween = Laya.Tween; import WebGL = Laya.WebGL; export class BlendMode_Lighter { // 一只凤凰的分辨率是550 * 400 private phoenixWidth: number = 550; private phoenixHeight: number = 400; private bgColorTweener: Tween = new Tween(); private gradientInterval: number = 2000; ...
来源: Laya_示例 发布时间: 20241125
API DocumentationAll Packages | All Classes | Index | Frames No Frames BoundFrustumProperties | Methods Packagelaya.d3.mathClasspublic class BoundFrustumInheritanceBoundFrustum Object BoundFrustum 类用于创建锥截体。 Public Properties PropertyDefined By bottom : Plane[read-only]...
来源: laya_api 发布时间: 20170929
API DocumentationAll Packages | All Classes | Index | Frames No Frames BoundFrustumProperties | Methods Packagelaya.d3.mathClasspublic class BoundFrustumInheritanceBoundFrustum Object BoundFrustum 类用于创建锥截体。 Public Properties PropertyDefined By bottom : Plane[read-only]...
来源: Laya2.0_api 发布时间: 20190513
...ya.Event; import Browser = Laya.Browser; import WebGL = Laya.WebGL; export class Interaction_Rotate { private sp: Sprite; private preRadian: number = 0; constructor() { // 不支持WebGL时自动切换至Canvas Laya.init(Browser.clientWidth, Browser.clientHeight, WebGL); Laya.stage.alignV = Stage.AL...
来源: Laya_示例 发布时间: 20241125