大约有 504 项符合查询结果, 库内数据总量为 30,897 项。 (搜索耗时: 0.0057 秒)
...ameAnimations Component3D EventDispatcher Object CameraAnimations 类用于创建摄像机动画组件。 Public Properties Hide Inherited Public Properties Show Inherited Public Properties PropertyDefined By addMode : Boolean = true叠加模式。CameraAnimations currentAnimationClipIndex : in...
来源: laya_api 发布时间: 20170603
...te3D.constructor Defined in laya/d3/core/pixelLine/PixelLineSprite3D.ts:45 创建一个 PixelLineSprite3D 实例。 Parameters Default value maxCount: number = 2 最大线段数量。 Default value name: string = null 名字。 Returns PixelLineSprite3D Properties Optional _extra _extra: INodeExtra ...
来源: Laya3.0_api 发布时间: 20231115
...ds Show Inherited Public Methods MethodDefined By KeyframeAnimations() 创建一个新的 KeyframeAnimation 实例。 KeyframeAnimations event(type:String, data:* = null):Boolean 派发事件。 EventDispatcher hasListener(type:String):Boolean 检查 EventDispatcher 对象是否为特定事件...
来源: laya_api 发布时间: 20170929
LayaAir引擎 动态创建img 或 sprite let dd = new Laya.Sprite(); dd.graphics.drawTexture(this.img.texture, 0, 0, 750, 1334); dd.x = 50; dd.y = 50; this.addChild(dd); this.img 绝对不为空,我想用一个sprite来画它,请问什么画(不是拷贝)? 2018-01-24 添加评论 ...
来源: Laya_社区 发布时间: 20180124
移除3d scene 再创建 整个场景会变黑 无法做到不刷新网页就能重置游戏的目的 2018-01-17 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 2 个回复 zszen 赞同来自: 不明白为什么, 但是算是...
来源: Laya_社区 发布时间: 20180117
对象池创建,sprite越来越高的问题 方法一 在面向对象里面init初始化创建角色。 在其他js里从对象池创建。var snakeAI=Laya.Pool.getItemByClass("snake",Snake); 这样的话。sprite是正常的。 方法二 这个是在面向对象里写好初始化创建角色的...
来源: Laya_社区 发布时间: 20180521
...rameAnimations Component3D EventDispatcher Object RigidAnimations 类用于创建变换动画组件。 Public Properties Hide Inherited Public Properties Show Inherited Public Properties PropertyDefined By currentAnimationClipIndex : int[read-only] 获取播放器的动画索引。 KeyframeAnimati...
来源: laya_api 发布时间: 20170929
使用3D灯光和阴影一、概述二、PointLight2.1 创建点光源2.2 组件属性2.3 使用代码设置三、DirectionLight3.1 创建平行光3.2 组件属性3.3 使用代码设置四、SpotLight4.1 创建聚光4.2 组件属性4.3 使用代码设置五、AreaLight5.1 创建区域光5.2 组件...
来源: Laya3.0_文档 发布时间: 20250103
....0 内嵌模式、加载模式、分离模式、文件模式的场景加载创建和场景打开关闭 环境:JavaScript LayaAir 2.0.0 beta3 LayaAir IDE 2.0.0 beta3 laya2场景发布模式有4种:内嵌模式、加载模式、分离模式、文件模式,laya2默认为文件模式 新建4个项...
来源: Laya_社区 发布时间: 20181028
...ConstraintComponent Class ConstraintComponent ConstraintComponent 类用于创建约束的父类。 Hierarchy Component ConstraintComponent ConfigurableConstraint FixedConstraint Index Constructors constructor Properties _extra _singleton disableCollisionsBetweenLinkedBodies owner runInEditor script...
来源: Laya3.0_api 发布时间: 20231115