大约有 1,764 项符合查询结果, 库内数据总量为 31,625 项。 (搜索耗时: 0.0081 秒)
Laya_社区(623) Laya3.0_api(482) Laya2.0_文档(180) Laya_示例(146) Laya2.0_示例(116) Laya3.0_文档(86) Laya2.0_api(67) laya_api(64)
...d3/RenderObjs/NativeOBJ/NativeRenderContext3DOBJ" NativeRenderContext3DOBJ Class NativeRenderContext3DOBJ Hierarchy NativeRenderContext3DOBJ Implements IRenderContext3D Index Constructors constructor Accessors cameraShaderData cameraUpdateMark configShaderData destTarget globalShaderData invertY pip...
来源: Laya3.0_api 发布时间: 20231115
....utils.Handler; import laya.webgl.WebGL; import ui.ComponentDemoUI; public class ComponentDemo { //资源路径 private var skin1:String="res/component/check.png"; private var skin2:String ="res/component/check_2.png"; public function ComponentDemo() { //初始化引擎,设置宽高并开启WebGL...
来源: Laya2.0_文档 发布时间: 20210714
...ya.Event; import Browser = Laya.Browser; import WebGL = Laya.WebGL; export class Text_Scroll { private txt: Text; private prevX: number = 0; private prevY: number = 0; constructor(){ // 不支持WebGL时自动切换至Canvas Laya.init(Browser.clientWidth, Browser.clientHeight, WebGL); Laya.stage.ali...
来源: Laya_示例 发布时间: 20251219
...s "laya/d3/RenderObjs/NativeOBJ/NativeVertexBuffer3D" NativeVertexBuffer3D Class NativeVertexBuffer3D Hierarchy VertexBuffer3D NativeVertexBuffer3D Index Constructors constructor Properties _buffer _bufferType _bufferUsage _byteLength _conchVertexBuffer3D _glBuffer Accessors bufferUsage canRead inst...
来源: Laya3.0_api 发布时间: 20231115
... // 程序入口 import Sprite = Laya.Sprite; import Stage = Laya.Stage; class GameMain{ private sp:Sprite; constructor() { Laya.init(600,400); this.sp = new Laya.Sprite(); Laya.stage.addChild(this.sp); var arr:Array<any> = [t...
来源: Laya_社区 发布时间: 20170316
...e/particleShuriKen/module/GradientAngularVelocity" GradientAngularVelocity Class GradientAngularVelocity GradientRotation 类用于创建渐变角速度。 Hierarchy GradientAngularVelocity Implements IClone Index Constructors constructor Accessors constant constantMax constantMaxSeparate constantMi...
来源: Laya3.0_api 发布时间: 20231115
...。window.Laya=window.Laya||{}; (function (exports, Laya) { 'use strict'; class Physics_Physics_CollisionFiltering { constructor() { this.preMovementX = 0; this.preMovementY = 0; Laya.Config.isAntialias = true; Laya.Laya.init(1200, 700, Laya.WebGL); Laya.Stat.show(); Laya.Physics.enable(); Laya.Phys...
来源: Laya2.0_示例 发布时间: 20251219
...wNum = 100; this.MapColNum = 100; GameMap.super(this); this.init(); } Laya.class(GameMap, "GameMap", laya.display.Sprite); var _proto = GameMap.prototype; _proto.init = function(){ var boxSp = new laya.display.Sprite(); // boxSp.cacheAsBitmap = true; for(var i = 0; i < this.MapRowNum; i++){ for(v...
来源: Laya_社区 发布时间: 20161008
...提交 1 个回复 乘风 赞同来自: https://layaair2.ldc2.layabox. ... class 2021-02-18 0 1 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 该问题目前已经被锁定, 无法添加新回复 发起人 虎威 相关问题 两个对象new了一个相同的对象,调用第...
来源: Laya_社区 发布时间: 20210218
...例代码如下: **入口类GameMain.ts** ```typescript // 程序入口 class GameMain{ constructor() { //初始化引擎 Laya.init(1334,750,Laya.WebGL); //设置舞台背景色 Laya.stage.bgColor = "#ffffff"; //加载图集成功后,执行onLoaded回调方法 Laya.loader.load("res/atlas/ui.atla...
来源: Laya2.0_文档 发布时间: 20210715