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

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

71. laya.d3.math.Color [ 86%]

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

72. 请大家帮助优化一下这个抛物线的代码 [ 86%]

...码  希望大家指正 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

73. laya.d3.math.BoundBox [ 86%]

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

74. 2D物理-仿生机器人 [ 85%]

...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_示例 发布时间: 20241002

75. laya.d3.math.Viewport [ 85%]

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

76. 其他引擎的Demo-Example_23 [ 84%]

...} } } // increment the ticker tick += 1; } } } import laya.display.Sprite; class Laser extends Sprite { public var life:int; }

来源: Laya_示例 发布时间: 20241002

77. 混合模式-Lighter [ 83%]

...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_示例 发布时间: 20241002

78. laya.d3.math.BoundFrustum [ 83%]

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

79. laya.d3.math.BoundFrustum [ 83%]

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

80. 鼠标交互-双指旋转(多点触控) [ 83%]

...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_示例 发布时间: 20241002