大约有 2,995 项符合查询结果, 库内数据总量为 31,625 项。 (搜索耗时: 0.0072 秒)
Laya_社区(1062) Laya3.0_api(668) Laya2.0_api(366) laya_api(298) Laya2.0_文档(230) Laya_示例(146) Laya2.0_示例(118) Laya3.0_文档(107)
API DocumentationAll Packages | All Classes | Index | Frames No Frames StylesProperties Packagelaya.uiClasspublic class StylesInheritanceStyles Object Styles 定义了组件常用的样式属性。 Public Properties PropertyDefined By buttonLabelColors : Array[static] 按钮标签颜色...
来源: Laya2.0_api 发布时间: 20190513
...EffConfPath, Laya.Handler.create(this, this.onLoaded)) onLoaded(){ // Laya.ClassUtils.regClass('ui.TestPUI', ui.TestPUI) var efc = new ui.TestPUI(); Laya.stage.addChild(efc); } 按照官方文档,运行后报错 Main.js:61 Uncaught ReferenceError: ui is not defined 之前有人提过这个问题...
来源: Laya_社区 发布时间: 20210111
...ript、TypeScript三种开发语言、LayaAirIDE让项目开发更高效。class Text_AutoSize { constructor() { const Browser = Laya.Browser, WebGL = Laya.WebGL, Stage = Laya.Stage, Stat = Laya.Stat; // 不支持WebGL时自动切换至Canvas Laya.init(550, 400, WebGL); Laya.stage.alignV = Stage.ALI...
来源: Laya2.0_示例 发布时间: 20251219
API DocumentationAll Packages | All Classes | Index | Frames No Frames AnimationClipProperties | Methods Packagelaya.d3.animationClasspublic class AnimationClipInheritanceAnimationClip laya.resource.Resource AnimationClip 类用于动画片段资源。 Public Properties PropertyDefined By...
来源: Laya2.0_api 发布时间: 20190513
...ript、TypeScript三种开发语言、LayaAirIDE让项目开发更高效。class UI_Tree { constructor() { const Browser = Laya.Browser, WebGL = Laya.WebGL, Stage = Laya.Stage, Stat = Laya.Stat, Handler = Laya.Handler; // 不支持WebGL时自动切换至Canvas Laya.init(550, 400, WebGL); Laya.stage....
来源: Laya2.0_示例 发布时间: 20251219
... Externals Only exported Menu Globals "laya/d3/math/BoundsImpl" BoundsImpl Class BoundsImpl BoundsImp 类用于创建包围体。 Hierarchy BoundsImpl Implements IClone Index Constructors constructor Properties _boundBox Accessors max min Methods calculateBoundsintersection clone cloneTo getCenter g...
来源: Laya3.0_api 发布时间: 20231115
...Only exported Menu Globals "laya/components/KeyframeNode2D" KeyframeNode2D Class KeyframeNode2D Hierarchy KeyframeNode2D Index Properties _indexInList _keyFrames _ownerPath _propertys fullPath nodePath Accessors keyFramesCount ownerPathCount propertyCount Methods _joinOwnerPath _joinProperty _setKey...
来源: Laya3.0_api 发布时间: 20231115
API DocumentationAll Packages | All Classes | Index | Frames No Frames VertexPositionNormalTextureTangentProperties | Methods Packagelaya.d3.graphicsClasspublic class VertexPositionNormalTextureTangentInheritanceVertexPositionNormalTextureTangent ObjectImplements IVertex VertexPositionNorma...
来源: laya_api 发布时间: 20170929
...x、y和z方向上分别移动距离1,示例代码如下: const { regClass, property } = Laya; @regClass() export class NewScript extends Laya.Script { @property({ type: Laya.Sprite3D }) public cube: Laya.Sprite3D; // 平移距离 private translate: Laya.Vector3 = new Laya.Vector3(1, 1, 1); cons...
来源: Laya3.0_文档 发布时间: 20251010
API DocumentationAll Packages | All Classes | Index | Frames No Frames JointBaseProperties | Methods Packagelaya.physics.jointClasspublic class JointBaseInheritanceJointBase Component ObjectSubclasses DistanceJoint, GearJoint, MotorJoint, MouseJoint, PrismaticJoint, PulleyJoint, RevoluteJoi...
来源: Laya2.0_api 发布时间: 20190513