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

大约有 1,131 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0116 秒)

1041. 如何实现3d遮罩效果? [ 48%]

... import laya.utils.Stat; import threeDimen.common.CameraMoveScript; public class D3Base_TargetTexture { private var skinMesh:MeshSprite3D; private var skinAni:SkinAnimations; private var mesh0:MeshSprite3D; private var mesh1:MeshSprite3D; private var camera2:Camera; private var x:Number = 0; private...

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

1042. laya.ui.ColorPicker_API3.0 [ 47%]

...ted Externals Only exported Menu Globals "laya/ui/ColorPicker" ColorPicker Class ColorPicker ColorPicker 组件将显示包含多个颜色样本的列表,用户可以从中选择颜色。 example 以下示例代码,创建了一个 ColorPicker 实例。 package { import laya.ui.ColorPicker; impor...

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

1043. laya.ui.TipManager [ 47%]

API DocumentationAll Packages | All Classes | Index | Frames No Frames TipManagerProperties | Methods | Events Packagelaya.uiClasspublic class TipManagerInheritanceTipManager UIComponent Sprite Node EventDispatcher Object鼠标提示管理类Public Properties Hide Inherited Public Properti...

来源: Laya2.0_api 发布时间: 20190513

1044. 位图字体的制作与使用(ActionScript-LayaAir基础篇(AS3)-文本) [ 47%]

...Texture; import laya.utils.Handler; import laya.display.BitmapFont; public class TestBitmapFont { //自定义文件名称 private var mFontName:String = "diyFont"; private var mBitmapFont:BitmapFont; public function TestBitmapFont() { Laya.init(550, 400); mBitmapFont = new BitmapFont(); //这里不...

来源: Laya2.0_文档 发布时间: 20201114

1045. Spine 间隔一段时间卡顿5000毫秒左右,期间GPU占用极高, Demo已上传 [ 47%]

...ya.Stat; import Templet = Laya.Templet; import Skeleton = Laya.Skeleton;  class Main {  constructor() { WebGL.enable(); Laya.init(Browser.width, Browser.height); Stat.show();  //棋子动画 this.genSpine("res/spine/ludo_qizidongzuo.skel", Laya.Handler.create(this, (templet: Laya.SpineTemplet) =&...

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

1046. 微信小游戏想使用截图功能是使用canvasToTempFilePath()吗 [ 47%]

... /** * 微信不带ImageData,需重写,记得赋值到window */ export class ImageData { public data: Uint8ClampedArray; public width: number; public height: number; public constructor(width: number, height: number) { this.width = width; this.height = height; this.data = new Uint8ClampedArray(wi...

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

1047. 内存释放问题 [ 47%]

LayaAir引擎 内存释放问题 export class ResUIModuleManager { /** * 模块资源路径 */ private static moduleResPath: string = 'res/atlas/{0}.json'; /** * 模块的资源名称和模块的主面板(模块的主面板类全名,模块资源图集名称[]) * @type {Laya.Dictionary} * @mem...

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

1048. laya.maths.Quaternion_API3.0 [ 47%]

...ed Externals Only exported Menu Globals "laya/maths/Quaternion" Quaternion Class Quaternion Quaternion 类用于创建四元数。 Hierarchy Quaternion Implements IClone Index Constructors constructor Properties w x y z DEFAULT NAN Methods clone cloneTo equals forNativeElement fromArray getYawPitchR...

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

1049. laya.ui.CheckBox [ 47%]

API DocumentationAll Packages | All Classes | Index | Frames No Frames CheckBoxProperties | Methods | Events Packagelaya.uiClasspublic class CheckBoxInheritanceCheckBox Button UIComponent Sprite Node EventDispatcher Object CheckBox 组件显示一个小方框,该方框内可以有选中...

来源: Laya2.0_api 发布时间: 20190513

1050. laya.ui.AdvImage [ 47%]

API DocumentationAll Packages | All Classes | Index | Frames No Frames AdvImageProperties | Methods | Events Packagelaya.uiClasspublic class AdvImageInheritanceAdvImage Image UIComponent Sprite Node EventDispatcher Object 广告插件 Public Properties Hide Inherited Public Properties Show...

来源: Laya2.0_api 发布时间: 20190513