大约有 1,276 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0071 秒)
...ilable ts Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "laya/utils/Performance" PerformancePlugin Class PerformancePlugin Hierarchy PerformancePlugin Index Properties PERFORMANCE_LAYA PERFORMANCE_LAYA_2D PERFORMANCE_LAYA_3D PERFORMANCE_LAYA_3D_PHYSICS PERFOR...
来源: Laya3.0_api 发布时间: 20231102
...透明,版本2.7.1 版本为2.7.1,无法背景透明,永远是黑色 export default class GameUI extends Laya.Scene { constructor() { super(); Config.isAlpha = true; Laya.init(480, 900); Laya.stage.bgColor = null; //加载场景文件 this.loadScene("test/TestScene.scene"); //添加3D场景 va...
来源: Laya_社区 发布时间: 20201021
...dler = 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 =...
来源: Laya2.0_示例 发布时间: 20260819
...e layaair Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "laya/physics/joint/WeldJoint" WeldJoint Class WeldJoint 焊接关节:焊接关节的用途是使两个物体不能相对运动,受到关节的限制,两个刚体的相对位置和角度都保持...
来源: Laya3.0_api 发布时间: 20231115
...,功能单一,建议用脚本方式实现,比如子弹脚本。 */ export default class GameUI extends ui.test.TestSceneUI { constructor() { super(); //加载3D场景 //var scene: Laya.Scene3D = Laya.stage.addChild(new Laya.Scene3D()) as Laya.Scene3D; Laya.Scene3D.load("res/La...
来源: Laya_社区 发布时间: 20190426
...; //预加载所有资源 let resource = ["Export/LayaScene_JJF/Conventional/JJF.lh"]; Laya.loader.create(resource, Laya.Handler.create(this, this.onComplete)); } onComplete(){ //创建场景 let scene = ...
来源: Laya_社区 发布时间: 20190531
...ilable ts Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "laya/d3/math/Matrix3x3" Matrix3x3 Class Matrix3x3 Matrix3x3 类用于创建3x3矩阵。 Hierarchy Matrix3x3 Implements IClone Index Constructors constructor Properties elements DEFAULT Methods clone clo...
来源: Laya3.0_api 发布时间: 20231102
...aya.WebGL; import Animation = Laya.Animation; import Sprite = Laya.Sprite; export class PerformanceTest_Cartoon2 { private amount: number = 500; private character1: Array = [ "res/cartoon2/yd-6_01.png", "res/cartoon2/yd-6_02.png", "res/cartoon2/yd-6_03.png", "res/cartoon2/yd-6_04.png", "res/cartoon2...
来源: Laya2.0_示例 发布时间: 20260819
...裁剪掉了,这种情况要怎么避免 @FGUIComponent("ui://login") export class TFrmLogin extends TGenFrmLogin { onConstruct(): void { super.onConstruct(); } } 附件 : --> 2023-05-26 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 ...
来源: Laya_社区 发布时间: 20230526
...e layaair Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "laya/physics/joint/MouseJoint" MouseJoint Class MouseJoint 鼠标关节:鼠标关节用于通过鼠标来操控物体。它试图将物体拖向当前鼠标光标的位置。而在旋转方面就没...
来源: Laya3.0_api 发布时间: 20231115