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

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

761. 文本-自动调整文本尺寸 [ 73%]

...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_示例 发布时间: 20241001

762. 3D变换 · LayaAir3.0文档 · LAYABOX [ 73%]

...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_文档 发布时间: 20230821

763. laya.d3.animation.AnimationClip [ 73%]

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

764. laya.d3.math.BoundsImpl_API3.0 [ 73%]

... 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

765. laya.d3.graphics.VertexPositionNormalTextureTangent [ 73%]

API DocumentationAll Packages | All Classes | Index | Frames No Frames VertexPositionNormalTextureTangentProperties | Methods Packagelaya.d3.graphicsClasspublic class VertexPositionNormalTextureTangentInheritanceVertexPositionNormalTextureTangent ObjectImplements IVertex VertexPositionNorma...

来源: laya_api 发布时间: 20170929

766. laya.components.KeyframeNode2D_API3.0 [ 73%]

...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

767. UI-Tree [ 73%]

...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_示例 发布时间: 20241001

768. laya.physics.joint.JointBase [ 73%]

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

769. laya.d3.physics.shape.CylinderColliderShape [ 73%]

API DocumentationAll Packages | All Classes | Index | Frames No Frames CylinderColliderShapeProperties | Methods Packagelaya.d3.physics.shapeClasspublic class CylinderColliderShapeInheritanceCylinderColliderShape ColliderShape Object CylinderColliderShape 类用于创建圆柱碰撞器。 P...

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

770. laya.d3.physics.shape.ConeColliderShape [ 73%]

API DocumentationAll Packages | All Classes | Index | Frames No Frames ConeColliderShapeProperties | Methods Packagelaya.d3.physics.shapeClasspublic class ConeColliderShapeInheritanceConeColliderShape ColliderShape Object ConeColliderShape 类用于创建圆柱碰撞器。 Public Properties...

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