大约有 157 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0082 秒)
...什么? 已上传 Demo 附件 TS项目使用matter.js库无智能提示 sprite3d怎样使用Laya.Tween.to来做缓动呢?比如position或者scale 使用3D时候,Property 'getComponentByType' does not exist on type 'Node'. LayaAirIDE下如何使用mask? 微信小游戏:HTMLDivElement的使...
来源: Laya_社区 发布时间: 20160713
...egClass() export class Script extends Laya.Script { //declare owner : Laya.Sprite3D; @property({ type: Laya.Scene3D }) scene3d: Laya.Scene3D; constructor() { super(); } /** * 组件被激活后执行,此时所有节点和组件均已创建完毕,此方法只执行一次 */ onAwake(): void { //...
来源: Laya3.0_文档 发布时间: 20251010
...ios浏览器表现异常 代码: module laya { export class Sprite_Guide { private width = 750; private height = 1334; constructor() { Laya3D.init(this.width, this.height); ...
来源: Laya_社区 发布时间: 20200119
...层级面板的通用操作 2.1 创建节点 可以创建的3D节点有: Sprite3D(这是一个空节点); 基础3D节点(Cube、Sphere、Cylinder、Capsule、Cone、Plane); 特效(Particle3D、PixelLine、Trail); 灯光(DirectionLight、PointLight、SpotLight、AreaLight); ...
来源: Laya3.0_文档 发布时间: 20251011
... Events Packagelaya.ani.boneClasspublic class SkeletonInheritanceSkeleton Sprite Node EventDispatcher Object 骨骼动画由Templet,AnimationPlayer,Skeleton三部分组成。 Public Properties Hide Inherited Public Properties Show Inherited Public Properties PropertyDefined By alpha : Number...
来源: laya_api 发布时间: 20170929
... laya.ani.bone.Skeleton; import laya.ani.bone.Templet; import laya.display.Sprite; import laya.display.Text; import laya.events.Event; import laya.utils.Browser; import laya.utils.Stat; import laya.webgl.WebGL; public class LayaAirDemo { private var templete:Templet;//动画模板类 private var ske...
来源: Laya_社区 发布时间: 20170324
...elaya.displayClasspublic class AnimationInheritanceAnimation AnimationBase Sprite Node EventDispatcher Object Animation 是Graphics动画类。实现了基于Graphics的动画创建、播放、控制接口。 本类使用了动画模版缓存池,它以一定的内存开销来节省CPU开销,当...
来源: Laya2.0_api 发布时间: 20190513
...测是起始点和结束点没有完全对齐烘培的navmesh。 7、2D的Sprite没有相对布局组件,导致Sprite无法对齐父节点。 8、【Laya.stage.frameRate】没有提供高刷接口,无法设置高刷新率(120帧),只能在引擎初始化前使用Laya.Config.FPS=120实现...
来源: Laya_社区 发布时间: 20240701
...接实例化此类,因为有些方法需要由子类实现。 Hierarchy Sprite AnimationBase FrameAnimation Animation Index Constructors constructor Properties _extra _ownGraphics _scene _skinBaseUrl _url autoSize hitTestPrior loop mouseThrough name tag wrapMode WRAP_PINGPONG WRAP_POSITIVE WRAP_RE...
来源: Laya3.0_api 发布时间: 20231115
...: boolean = false Inherited from Text._ownGraphics Defined in laya/display/Sprite.ts:252 _scene _scene: Node Inherited from Node._scene Defined in laya/display/Node.ts:641 _skinBaseUrl _skinBaseUrl: string Inherited from Text._skinBaseUrl Defined in laya/display/Sprite.ts:276 如果节点需要加...
来源: Laya3.0_api 发布时间: 20231115