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

大约有 345 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0049 秒)

111. 输入文本组件 · LayaAir3.3 · 引擎文档 · LAYABOX [ 61%]

...t; constructor() { super(); } /** * 组件被激活后执行,此时所有节点和组件均已创建完毕,此方法只执行一次 */ onAwake(): void { this.txtin.pos(Laya.stage.width >> 1, Laya.stage.height >> 1); //位置 this.txtin.size(500, 60); //大小 this.txtin.pivot(this.tx...

来源: Laya3.0_文档 发布时间: 20251010

112. 限制模型旋转角度 [ 61%]

...个逻辑问题得自己想了。我只能提供一个建议,你不用父节点,去对比,直接用世界坐标也是一样的效果,还是需要搞个单位向量做对比,然后旋转之后地球向量也会变,通过向量对比,来做逻辑判断。总要有个不动的参照物 La...

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

113. laya.d3.core.light.DirectionLightCom_API3.0 [ 61%]

...eton Defined in laya/components/Component.ts:30 是否单例,即同一个节点只能添加此类型的脚本一次 color color: Color Inherited from Light.color Defined in laya/d3/core/light/Light.ts:61 灯光颜色。 owner owner: Node Inherited from Component.owner Defined in laya/components/Co...

来源: Laya3.0_api 发布时间: 20231115

114. laya.d3.terrain.Terrain [ 60%]

... Terrain  LOD_TOLERANCE_VALUE : Number = 4[static] Terrain name : String节点名称。Node numChildren : int[read-only] 子对象数量。 Node parent : Node[read-only] 父节点。Node  RENDER_LINE_MODEL : Boolean = false[static] Terrain scene : *[read-only] 获得所属场景。 Node  t...

来源: Laya2.0_api 发布时间: 20190513

115. 一篇了解所有的LayaAir文本组件(TypeScript-LayaAir基础篇(TS)-文本) [ 60%]

...FillText组件在2.8版本之前只能添加在没有skin填充的空显示节点下,2.8开始,可以添加到任意UI节点下。 ### 二、位图显示文本组件 位图显示文本,是一种基于位图的文本,虽然显示的是文本的内容,其本质还是位图。通常用于系...

来源: Laya2.0_文档 发布时间: 20210715

116. laya.d3.core.pixelline.PixelLineRenderer_API3.0 [ 60%]

...eton Defined in laya/components/Component.ts:30 是否单例,即同一个节点只能添加此类型的脚本一次 owner owner: Node Inherited from Component.owner Defined in laya/components/Component.ts:24 获取所属Node节点。 Optional runInEditor runInEditor: boolean Inherited from Compone...

来源: Laya3.0_api 发布时间: 20231115

117. laya.d3.core.light.LightSprite [ 60%]

...ME : int = 0[static] 灯光烘培类型-实时。LightSprite name : String节点名称。Node numChildren : int[read-only] 子对象数量。 Node parent : Node[read-only] 父节点。Node scene : *[read-only] 获得所属场景。 Node  shadow : Boolean 获取是否产生阴影。 LightSprite...

来源: Laya2.0_api 发布时间: 20190513

118. laya.d3.core.particleShuriKen.ShuriKenParticle3D [ 60%]

...: Boolean[read-only] 获取是否已加载完成。 Sprite3D name : String节点名称。Node numChildren : int[read-only] 子对象数量。 Node parent : Node父节点。Node  particleRender : ShurikenParticleRender[read-only] 获取粒子渲染器。 ShuriKenParticle3D  particleSystem : Sh...

来源: laya_api 发布时间: 20170929

119. laya.d3.core.trail.TrailSprite3D [ 60%]

...变量名,光照贴图缩放和偏移。RenderableSprite3D name : String节点名称。Node numChildren : int[read-only] 子对象数量。 Node parent : Node[read-only] 父节点。Node pickColor : Vector4RenderableSprite3D PICKCOLOR : int[static] 拾取颜色。RenderableSprite3D SAHDERDEF...

来源: Laya2.0_api 发布时间: 20190513

120. laya.d3.core.Sprite3D [ 60%]

...静态。 Sprite3D  layer : int 获取蒙版。 Sprite3D name : String节点名称。Node numChildren : int[read-only] 子对象数量。 Node parent : Node[read-only] 父节点。Node scene : *[read-only] 获得所属场景。 Node  transform : Transform3D[read-only] 获取精灵变换。 S...

来源: Laya2.0_api 发布时间: 20190513