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

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

891. laya.d3.physicscannon.CannonPhysicsCollider_API3.0 [ 53%]

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

892. 鼠标交互-Hold [ 53%]

...dler = Laya.Handler; import Tween = Laya.Tween; import WebGL = Laya.WebGL; export class Interaction_Hold { private HOLD_TRIGGER_TIME: number = 1000; private apePath: string = "../../res/apes/monkey2.png"; //触发hold事件时间为1秒 private ape: Sprite; private isApeHold: Boolean; constructor() ...

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

893. laya.particle.shader.value.ParticleShaderValue_API3.0 [ 53%]

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

894. laya微信打包问题很多呀,就是加了一些绘图api,就报错 [ 53%]

...prite = Laya.Sprite; import Stage = Laya.Stage; import WebGL = Laya.WebGL; export class Sprite_DrawShapes { private sp: Sprite; constructor() { // 不支持WebGL时自动切换至Canvas Laya.MiniAdpter.init(); Laya.init(740, 400); Laya.stage.alignV = Stage.ALIGN_MIDDLE; Laya.stage.alignH = Stage.ALI...

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

895. 文本-滚动文本 [ 53%]

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

896. laya.physics.joint.MotorJoint_API3.0 [ 53%]

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

897. 缓动-时间线 [ 53%]

...Laya.Keyboard; import TimeLine = Laya.TimeLine; import WebGL = Laya.WebGL; export class Tween_TimeLine { private target:Sprite; private timeLine:TimeLine = new TimeLine(); constructor() { // 不支持WebGL时自动切换至Canvas Laya.init(550, 400, WebGL); Laya.stage.alignV = Stage.ALIGN_MIDDLE; La...

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

898. 提示资源重复加载 [ 53%]

...omp/yard_swimpool01.png"; let swimpoorpath02="Comp/yard_swimpool02.png";  export default class Yard extends Laya.Sprite { private swimpoolani:Laya.Animation;  constructor() { super(); this.swimpoolani=new Laya.Animation(); //this.init(); this.swimpoolani.loadAtlas("./res/atlas/Comp.atlas",Laya.Han...

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

899. laya.physics.joint.DistanceJoint_API3.0 [ 53%]

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

900. 物理引擎-布 [ 53%]

... Stat = Laya.Stat; import WebGL = Laya.WebGL; import Render = Laya.Render; export class Physics_Cloth { private stageWidth: number = 800; private stageHeight: number = 600; private Matter: any = Browser.window.Matter; private LayaRender: any = Browser.window.LayaRender; private mouseConstraint: any;...

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