大约有 124 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0064 秒)
...来使用,后面我们将详细介绍 而预制体(2D)的根节点为“Sprite”。如图2-4所示 (图2-4) 2.2 创建预制体(3D) 创建预制体3D的过程同预制体2D一样,如动图2-5所示 (动图2-5) 不同的是,双击打开预制体3D,根节点是“Sprite3D”,也就...
来源: Laya3.0_文档 发布时间: 20251105
...: boolean = false Inherited from Text._ownGraphics Defined in laya/display/Sprite.ts:252 _parseEscapeChars _parseEscapeChars: boolean Inherited from Text._parseEscapeChars Defined in laya/display/Text.ts:202 是否将字符串中的\n,\t转换为实际功能的字符 _scene _scene: Node Inherited fr...
来源: Laya3.0_api 发布时间: 20231115
...用帧率甚至动态更改帧率有利于改进手机耗电。 Hierarchy Sprite Stage Index Constructors constructor Properties _extra _ownGraphics _scene _skinBaseUrl _url autoSize canvasDegree canvasRotation designHeight designWidth focus hitTestPrior mouseThrough name renderingEnabled screenAdap...
来源: Laya3.0_api 发布时间: 20231115
... Packagelaya.d3.core.sceneClasspublic class BaseSceneInheritanceBaseScene Sprite Node EventDispatcher ObjectImplements ISubmitSubclasses Scene, VRScene BaseScene 类用于实现场景的父类。 Public Properties Hide Inherited Public Properties Show Inherited Public Properties PropertyDefined By...
来源: laya_api 发布时间: 20170422
... (动图2-4) 不同的是,双击打开预制体3D,根节点是“Sprite3D”,也就是我们需要创建的3D精灵对象。同时图2-5右面是默认的IDE场景,用了IDE自带的天空盒 (图2-5) 2.3 修改预制体编辑场景 开发者可以通过如下的方式来更换3D预...
来源: Laya3.0_文档 发布时间: 20241014
...加了着色器的材质文件添加在2D节点上,如图2-3所示,以Sprite为例,将材质添加在Material属性上。 每一种2D组件都有Material属性。 (图2-3) 总结一下就是,Shader应用到材质上,材质再应用到2D节点上。 2.3 文件结构 在LayaAir引擎中...
来源: Laya3.0_文档 发布时间: 20251010
...nts Packagelaya.uiClasspublic class PanelInheritancePanel Box UIComponent Sprite Node EventDispatcher Object Panel 是一个面板容器类。 Public Properties Hide Inherited Public Properties Show Inherited Public Properties PropertyDefined By active : Boolean 获取自身是否激活。 Node ...
来源: Laya2.0_api 发布时间: 20190513
...层级面板的通用操作 2.1 创建节点 可以创建的3D节点有: Sprite3D(这是一个空节点); 基础3D节点(Cube、Sphere、Cylinder、Capsule、Cone、Plane); 特效(Particle3D、PixelLine、Trail); 灯光(DirectionLight、PointLight、SpotLight、AreaLight); ...
来源: Laya3.0_文档 发布时间: 20251011
...Protected All Inherited Externals Only exported Menu Globals "laya/display/Sprite" Sprite Class Sprite Sprite 是基本的显示图形的显示列表节点。 Sprite 默认没有宽高,默认不接受鼠标事件。通过 graphics 可以绘制图片或者矢量图,支持旋转,缩放,位移...
来源: Laya3.0_api 发布时间: 20231115
...目标物体添加上描边 */ public AddCommandBuffet_Outline(sprite3D : Laya.Sprite3D): void{ if((sprite3D as Laya.MeshSprite3D) == null || !this.isUseOuline){ // console.log('spreite3D node meshSprite3D is null'); ...
来源: Laya_社区 发布时间: 20210203