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

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

121. 3D灯光与阴影 · LayaAir3.3 · 引擎文档 · LAYABOX [ 57%]

...效果 2.3 使用代码设置 //创建点光源 let pointLight = new Laya.Sprite3D(); let pointCom = pointLight.addComponent(Laya.PointLightCom); this.scene.addChild(pointLight); //点光源的颜色 pointCom.color = new Laya.Color(1.0, 0.5, 0.0, 1); //设置点光源的范围 pointCom.range = 3.0; ...

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

122. laya.ui.TextArea [ 57%]

....uiClasspublic class TextAreaInheritanceTextArea TextInput Label Component Sprite Node EventDispatcher Object TextArea 类用于创建显示对象以显示和输入文本。 Public Properties Hide Inherited Public Properties Show Inherited Public Properties PropertyDefined By align : String 表示...

来源: laya_api 发布时间: 20170929

123. laya.ui.Tab [ 56%]

...s Packagelaya.uiClasspublic class TabInheritanceTab UIGroup Box Component Sprite Node EventDispatcher Object Tab 组件用来定义选项卡按钮组。 Public Properties Hide Inherited Public Properties Show Inherited Public Properties PropertyDefined By alpha : Number透明度,值为0-1,默...

来源: laya_api 发布时间: 20170929

124. laya.ui.RadioGroup [ 56%]

....uiClasspublic class RadioGroupInheritanceRadioGroup UIGroup Box Component Sprite Node EventDispatcher Object RadioGroup 控件定义一组 Radio 控件,这些控件相互排斥; 因此,用户每次只能选择一个 Radio 控件。 Public Properties Hide Inherited Public Properties Show Inher...

来源: laya_api 发布时间: 20170929

125. laya.display.Input [ 56%]

...Constants Packagelaya.displayClasspublic class InputInheritanceInput Text Sprite Node EventDispatcher Object Input 类用于创建显示对象以显示和输入文本。 Input 类封装了原生的文本输入框,由于不同浏览器的差异,会导致此对象的默认文本的位置与用户...

来源: laya_api 发布时间: 20170929

126. 关于Quaternion.rotationLookAt的问题 [ 56%]

...,试图用Quaternion.rotationLookAt生成一个Quaternion直接赋值给Sprite3D的rotation。发现结果怎么都不对,跟到Matrix3x3.lookAt里看实现,生成三个向量之后赋值给矩阵处貌似有问题,该为如图所示(转置)之后修复。 另外,Quaternion.rotationLookAt...

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

127. 设置适配SCALE_FIXED_WIDTH,结果少部分andriod机型不能正确适配屏幕 [ 56%]

...的。 关于适配采用showAll后留白部分的颜色问题 如何设置Sprite的宽高和点击区域? 屏幕适配怎样实现铺满全屏,又不被拉伸? 关于同为object层,层级设置无效的问题 问题状态 最新活动: 2018-12-04 15:33 浏览: 2127 关注: 2 人 boobo • ...

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

128. laya.d3.core.Camera [ 56%]

...s Packagelaya.d3.coreClasspublic class CameraInheritanceCamera BaseCamera Sprite3D Node EventDispatcher Object Camera 类用于创建摄像机。 Public Properties Hide Inherited Public Properties Show Inherited Public Properties PropertyDefined By active : Boolean 获取自身是否激活。 Nod...

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

129. laya.ui.TextInput [ 55%]

...kagelaya.uiClasspublic class TextInputInheritanceTextInput Label Component Sprite Node EventDispatcher ObjectSubclasses TextArea TextInput 类用于创建显示对象以显示和输入文本。 Public Properties Hide Inherited Public Properties Show Inherited Public Properties PropertyDefined By a...

来源: laya_api 发布时间: 20170929

130. [LayaAir3]3.3.0.beta.2 2d刚体position问题 [ 55%]

...position的x和y。 另外刚体position的值也有点怪,和所挂载Sprite的xy相对于父物体坐标不同,更像是相对于屏幕坐标。 假设父物体a的坐标是(0,Laya.stage.height/2),挂载了刚体的物体b是a的子物体,设置b的坐标为(0,0),若将b上刚体...

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