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

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

2851. laya.d3.utils.Utils3D_API3.0 [ 34%]

...e layaair Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "laya/d3/utils/Utils3D" Utils3D Class Utils3D Utils3D 类用于创建3D工具。 Hierarchy Utils3D Index Properties _tempV0 _tempV1 Methods PointinTriangle _getNodeByHierarchyPath _getParentNodeByHierarc...

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

2852. 2D网格渲染器 · LayaAir3.4 · 引擎文档 · LAYABOX [ 34%]

...格渲染器的效果: const { regClass, property } = Laya; @regClass() export class Mesh2DRender extends Laya.Script { @property({type: Laya.Sprite}) private layaMonkey: Laya.Sprite; //组件被启用后执行,例如节点被添加到舞台后 onEnable(): void { Laya.loader.load("resources/laya...

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

2853. laya.d3.physicscannon.CannonPhysicsCollider_API3.0 [ 34%]

...ilable ts Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "laya/d3/physicsCannon/CannonPhysicsCollider" CannonPhysicsCollider Class CannonPhysicsCollider PhysicsCollider 类用于创建物理碰撞器。 Hierarchy CannonPhysicsTriggerComponent CannonPhysicsColl...

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

2854. laya.particle.shader.value.ParticleShaderValue_API3.0 [ 34%]

...e layaair Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "laya/particle/shader/value/ParticleShaderValue" ParticleShaderValue Class ParticleShaderValue 2D粒子 Hierarchy Value2D ParticleShaderValue Index Constructors constructor Properties ALPHA alpha clipMat...

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

2855. 文本-滚动文本 [ 34%]

...nt = Laya.Event; import Browser = Laya.Browser; import WebGL = Laya.WebGL; export class Text_Scroll { private txt: Text; private prevX: number = 0; private prevY: number = 0; constructor(){ // 不支持WebGL时自动切换至Canvas Laya.init(Browser.clientWidth, Browser.clientHeight, WebGL); Laya.st...

来源: Laya2.0_示例 发布时间: 20260824

2856. laya.physics.joint.MotorJoint_API3.0 [ 34%]

...e layaair Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "laya/physics/joint/MotorJoint" MotorJoint Class MotorJoint 马达关节:用来限制两个刚体,使其相对位置和角度保持不变 Hierarchy JointBase MotorJoint Index Constructors constructor...

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

2857. laya.physics.joint.DistanceJoint_API3.0 [ 34%]

...e layaair Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "laya/physics/joint/DistanceJoint" DistanceJoint Class DistanceJoint 距离关节:两个物体上面各自有一点,两点之间的距离固定不变 Hierarchy JointBase DistanceJoint Index Construct...

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

2858. 输入设备-指南针 [ 33%]

...dler = Laya.Handler; import WebGL = Laya.WebGL; import Event = Laya.Event; export class InputDevice_Compasss { private compassImgPath:string = "../../res/inputDevice/kd.png"; private compassImg:Sprite; private degreesText:Text; private directionIndicator:Sprite; private firstTime:Boolean = true; con...

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

2859. laya.physics.joint.RevoluteJoint_API3.0 [ 33%]

...e layaair Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "laya/physics/joint/RevoluteJoint" RevoluteJoint Class RevoluteJoint 旋转关节强制两个物体共享一个锚点,两个物体相对旋转 Hierarchy JointBase RevoluteJoint Index Constructors const...

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

2860. 输入设备-指南针 [ 33%]

...dler = Laya.Handler; import WebGL = Laya.WebGL; import Event = Laya.Event; export class InputDevice_Compasss { private compassImgPath:string = "res/inputDevice/kd.png"; private compassImg:Sprite; private degreesText:Text; private directionIndicator:Sprite; private firstTime:Boolean = true; construct...

来源: Laya2.0_示例 发布时间: 20260824