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

大约有 2,159 项符合查询结果, 库内数据总量为 31,671 项。 (搜索耗时: 0.0071 秒)

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

...tance; // this.centerY = this.ball.y + Math.sin(this.angle2)*distance; } } function CreateBezierPoints(anchorpoints, pointsAmount) { var points = ; for (var i = 0; i < pointsAmount; i++) { var point = MultiPointBezier(anchorpoints, i / pointsAmount); points.push(point); } return points; } functio...

来源: Laya_社区 发布时间: 20171108

1822. laya.d3.webxr.core.WebXRRenderTexture_API3.0 [ 52%]

...建 Parameters url: string Returns boolean off off(type: string, listener: Function): EventDispatcher off(type: string, caller: any, listener?: Function, args?: any[]): EventDispatcher Inherited from EventDispatcher.off Defined in laya/events/EventDispatcher.ts:112 从 EventDispatcher 对象中删...

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

1823. laya.ui.List_API3.0 [ 52%]

...aya.ui.List; import laya.utils.Handler; public class List_Example { public function List_Example() { Laya.init(640, 800, "false");//设置游戏画布宽高、渲染模式。 Laya.stage.bgColor = "#efefef";//设置画布的背景颜色。 Laya.loader.load(["resource/ui/vscroll.png", "resource/ui/vsc...

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

1824. APP自动旋转问题 [ 52%]

APP自动旋转问题 public function LayaSample()  { Laya.init(1280, 720,WebGL); Laya.stage.alignV = Stage.ALIGN_MIDDLE; Laya.stage.alignH = Stage.ALIGN_CENTER; Laya.stage.screenMode = Stage.SCREEN_HORIZONTAL; Laya.stage.scaleMode = Stage.SCALE_EXACTFIT; Laya.stage.bgColor = "#000000"; Applicatio...

来源: Laya_社区 发布时间: 20180227

1825. laya.d3.resource.models.SubMesh_API3.0 [ 52%]

...wArrayParams setDrawElemenParams setIndices Legend Object literal Variable Function Type alias Class Class with type parameter Constructor Method Inherited property Inherited method Inherited accessor Enumeration Interface

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

1826. laya.d3.core.BaseCamera_API3.0 [ 52%]

...s type: string Optional data: any Returns void callLater callLater(method: Function, args?: any[]): void Inherited from Node.callLater Defined in laya/display/Node.ts:621 延迟运行指定的函数。 在控件被显示在屏幕之前调用,一般用于延迟计算数据。 see #runCallLater() Pa...

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

1827. laya.d3.core.light.SpotLight_API3.0 [ 52%]

...s type: string Optional data: any Returns void callLater callLater(method: Function, args?: any[]): void Inherited from Node.callLater Defined in laya/display/Node.ts:621 延迟运行指定的函数。 在控件被显示在屏幕之前调用,一般用于延迟计算数据。 see #runCallLater() Pa...

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

1828. laya.d3.renderobjs.nativeobj.NativeBaseRenderNode_API3.0 [ 52%]

... with type parameter Constructor Property Accessor Object literal Variable Function Type alias Enumeration Interface

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

1829. laya.d3.resource.MulSampleRenderTexture_API3.0 [ 52%]

...建 Parameters url: string Returns boolean off off(type: string, listener: Function): EventDispatcher off(type: string, caller: any, listener?: Function, args?: any[]): EventDispatcher Inherited from EventDispatcher.off Defined in laya/events/EventDispatcher.ts:112 从 EventDispatcher 对象中删...

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

1830. laya.d3.core.RenderableSprite3D_API3.0 [ 52%]

...s type: string Optional data: any Returns void callLater callLater(method: Function, args?: any[]): void Inherited from Node.callLater Defined in laya/display/Node.ts:621 延迟运行指定的函数。 在控件被显示在屏幕之前调用,一般用于延迟计算数据。 see #runCallLater() Pa...

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