大约有 764 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0073 秒)
...ants Packagelaya.d3.coreClasspublic class BaseCameraInheritanceBaseCamera Sprite3D ComponentNode Node EventDispatcher ObjectSubclasses Camera, VRCamera BaseCamera 类用于创建摄像机的父类。 Public Properties Hide Inherited Public Properties Show Inherited Public Properties PropertyDefine...
来源: laya_api 发布时间: 20170929
...ackagelaya.d3.coreClasspublic class VRCameraInheritanceVRCamera BaseCamera Sprite3D ComponentNode Node EventDispatcher Object Camera 类用于创建VR摄像机。 Public Properties Hide Inherited Public Properties Show Inherited Public Properties PropertyDefined By active : Boolean 获取自身是...
来源: laya_api 发布时间: 20170929
...。 (动图2-4) 2.1.2 3D节点 静态: 在游戏场景中,每一个Sprite3D都有静态或者动态的两种状态,当一个物体标记为静态后,就确保这个物体在游戏场景中为静态的、不会移动的物体,进而在游戏的运行过程中让游戏有更加流畅的...
来源: Laya3.0_文档 发布时间: 20251013
... export class TextAreaControl extends Laya.Script { //declare owner : Laya.Sprite3D; @property( { type : Laya.TextArea } ) public txtarea: Laya.TextArea; constructor() { super(); } /** * 组件被激活后执行,此时所有节点和组件均已创建完毕,此方法只执行一次 */ onAwake():...
来源: Laya3.0_文档 发布时间: 20251010
... 要回复问题请先登录 发起人 BugCreater 相关问题 如何设置Sprite的宽高和点击区域? 使用钢体设置防穿后仍有几率会穿透 LayaAir使用AS语言能直接挂断点吗? 怎样获取浏览器地址传过来的GET参数 anchor锚点设置不生效 2.0 drawTexture col...
来源: Laya_社区 发布时间: 20180104
...lass() export class NewScript extends Laya.Script { //declare owner : Laya.Sprite3D; constructor() { super(); } /** * 组件被激活后执行,此时所有节点和组件均已创建完毕,此方法只执行一次 */ onAwake(): void { let video = new Laya.VideoNode; //添加到舞台 Laya.stage....
来源: Laya3.0_文档 发布时间: 20251010
...锚点方式只能对UI组件设置轴心点,对于graphics组件以及Sprite等2D基础组件的轴心点只能通过第二种方式实现。* **第二种:通过轴心点属性实现** 我们想以中心点为轴心旋转,还可以通过轴心点属性设置组件的中心为轴心点,例...
来源: Laya2.0_文档 发布时间: 20210715
...锚点方式只能对UI组件设置轴心点,对于Graphics组件以及Sprite等2D基础组件的轴心点只能通过第二种方式实现。* **第二种:通过轴心点属性实现** 我们想以中心点为轴心旋转,还可以通过轴心点属性设置组件的中心为轴心点,例...
来源: Laya2.0_文档 发布时间: 20210715
...,微信小游戏 Android 端调整 “在屏 Canvas” 的放缩策略 sprite3d怎样使用Laya.Tween.to来做缓动呢?比如position或者scale 分享:适配LayaAir版本的PureMVC框架 使用3D时候,Property 'getComponentByType' does not exist on type 'Node'. 分享:打地鼠 AS、JS...
来源: Laya_社区 发布时间: 20160912
...s() export class LightEffectDemo extends Laya.Script { declare owner: Laya.Sprite; private lightComp: Laya.FreeformLight2D; private rotateSpeed: number = 2; // 增加旋转速度 private scaleTime: number = 0; private scaleSpeed: number = 3; // 增加缩放速度 private intensity: number = 1.8; // ...
来源: Laya3.0_文档 发布时间: 20251010