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

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

1241. runTime使用(ActionScript-IDE篇(AS3)-组件化开发相关) [ 66%]

...laya.utils.Tween; /** *ImageRunTime逻辑类 * @author mengjia * */ public class ImageRunTime extends Image { //缩放时间100毫秒 public var scaleTime:int = 100; public function ImageRunTime() { //设置组件的中心点 this.anchorX = this.anchorY = 0.5; //添加鼠标按下事件侦听。按...

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

1242. UI-Label [ 66%]

...= Laya.Stage; import Label = Laya.Label; import WebGL = Laya.WebGL; export class UI_Label { constructor() { // 不支持WebGL时自动切换至Canvas Laya.init(800, 600, WebGL); Laya.stage.alignV = Stage.ALIGN_MIDDLE; Laya.stage.alignH = Stage.ALIGN_CENTER; Laya.stage.scaleMode = Stage.SCALE_SHOWALL...

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

1243. Sprite3D-Sprite3D加载 [ 66%]

....Sprite3D.load("../../res/threeDimen/skinModel/LayaMonkey/LayaMonkey.lh"));class Sprite3DLoad { constructor() { Laya3D.init(0, 0, true); Laya.stage.scaleMode = Laya.Stage.SCALE_FULL; Laya.stage.screenMode = Laya.Stage.SCREEN_NONE; var scene = Laya.stage.addChild(new Laya.Scene()); var camera: Laya.C...

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

1244. 进度条组件 · LayaAir3.0文档 · LAYABOX [ 65%]

...用于描述加载进度。需要添加如下的示例代码: const { regClass, property } = Laya; @regClass() export class NewScript extends Laya.Script { @property({ type: Laya.ProgressBar }) public progressBar: Laya.ProgressBar; @property({ type: Laya.Text }) public loadText: Laya.Text; //组...

来源: Laya3.0_文档 发布时间: 20230921

1245. 问个和引擎编辑器无关的问题,问问怎么通过一个类名(字符串)创建一个对象啊!!!!感谢真不想在找typescript了扒嗒了半天,反射竟然没有看懂,感谢了!!! [ 65%]

...同来自: http://layaair.ldc.layabox.com/api/index.html?category=Core&class=laya.utils.ClassUtils 你看是不是这个 2018-01-22 0 4 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 liwenhua 相关问题 看了其他引擎才发现 LAYA...

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

1246. laya.physics.joint.RevoluteJoint [ 65%]

API DocumentationAll Packages | All Classes | Index | Frames No Frames RevoluteJointProperties | Methods Packagelaya.physics.jointClasspublic class RevoluteJointInheritanceRevoluteJoint JointBase Component Object 旋转关节强制两个物体共享一个锚点,两个物体相对旋转 Pu...

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

1247. laya.d3.core.pixelLine.PixelLineMaterial [ 65%]

API DocumentationAll Packages | All Classes | Index | Frames No Frames PixelLineMaterialProperties | Methods | Constants Packagelaya.d3.core.pixelLineClasspublic class PixelLineMaterialInheritancePixelLineMaterial BaseMaterial laya.resource.Resource ... Public Properties Hide Inherited Pub...

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

1248. laya.d3.component.hlod.HLOD_API3.0 [ 65%]

...ed Externals Only exported Menu Globals "laya/d3/component/HLOD/HLOD" HLOD Class HLOD Hierarchy Component HLOD Index Constructors constructor Properties _extra _singleton owner runInEditor scriptPath Accessors awaked bounds destroyed enabled hideFlags id lodCullRateArray lodResource Methods _cloneTo...

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

1249. laya.components.AnimatorState2D_API3.0 [ 65%]

...ly exported Menu Globals "laya/components/AnimatorState2D" AnimatorState2D Class AnimatorState2D Animator 类用于创建动画组件。 Hierarchy EventDispatcher AnimatorState2D Implements IClone Index Properties clipEnd clipStart cycleOffset loop name speed yoyo Accessors clip Methods addScript cl...

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

1250. laya.d3.graphics.Vertex.VertexMesh [ 65%]

API DocumentationAll Packages | All Classes | Index | Frames No Frames VertexMeshMethods | Constants Packagelaya.d3.graphics.VertexClasspublic class VertexMeshInheritanceVertexMesh Object ... Public Methods  MethodDefined By  getVertexDeclaration(vertexFlag:String, compatible:Boolean = t...

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