大约有 318 项符合查询结果, 库内数据总量为 30,897 项。 (搜索耗时: 0.0060 秒)
Laya_社区(131) Laya3.0_api(73) Laya2.0_文档(54) Laya3.0_文档(48) Laya_示例(5) laya_api(3) Laya2.0_api(3) Laya2.0_示例(1)
...ed from BaseTexture.wrapModeU Defined in laya/resource/BaseTexture.ts:101 U方向采样模式 Returns WrapMode Inherited from BaseTexture.wrapModeU Defined in laya/resource/BaseTexture.ts:104 U方向采样模式 Parameters value: WrapMode Returns void wrapModeV get wrapModeV(): WrapMode set wrapMode...
来源: Laya3.0_api 发布时间: 20231115
...ed from BaseTexture.wrapModeU Defined in laya/resource/BaseTexture.ts:101 U方向采样模式 Returns WrapMode Inherited from BaseTexture.wrapModeU Defined in laya/resource/BaseTexture.ts:104 U方向采样模式 Parameters value: WrapMode Returns void wrapModeV get wrapModeV(): WrapMode set wrapMode...
来源: Laya3.0_api 发布时间: 20231115
... camera.clearFlag = Laya.BaseCamera.CLEARFLAG_SOLIDCOLOR; //方向光 let directionLight = this.scene.addChild(new Laya.DirectionLight()); directionLight.color = new Laya.Vector3(0.6, 0.6, 0.6); let mat = directionLight.transform.worldMatrix; ...
来源: Laya_社区 发布时间: 20201127
...布局带来了极大的灵活性,并且可以在不同的屏幕大小和方向下保证 UI 布局的一致性。 至此,我们对UI组件已有了基础的了解,我们将开始对全部的UI组件进行详细介绍。为避免文档的标题过长,对UI组件根据使用的特点进行分...
来源: Laya3.0_文档 发布时间: 20240910
... Defined in laya/ui/UIComponent.ts:226 在父容器中,此对象的水平方向中轴线与父容器的水平方向中心线的距离(以像素为单位)。 Returns number Inherited from UIComponent.centerX Defined in laya/ui/UIComponent.ts:230 在父容器中,此对象的水平方向中轴...
来源: Laya3.0_api 发布时间: 20231115
...string = null 资源类库名或者地址 Default value clipX: number = 1 x方向分割个数 Default value clipY: number = 1 y方向分割个数 Returns Clip Properties Optional _extra _extra: INodeExtra Inherited from Node._extra Defined in laya/display/Node.ts:56 _graphics _graphics: AutoBitmap O...
来源: Laya3.0_api 发布时间: 20231115
...是 this.camera.transform.localPositionZ+=0.05;向局部坐标系的z轴正方向移动,这行代码的效果应该是离物体越来越近了,根据您代码里设置的范围来看是正常的,我这里改成"-="后坐标位置也显示正常。 第二个bug我们还在定位问题,有最...
来源: Laya_社区 发布时间: 20210904
...图10) `setViewPortPivotByScale()`方法的第一个参数scaleX是X轴方向的缩放坐标比例,scaleY是Y轴方向的缩放坐标比例。 例如: ```java tMap.setViewPortPivotByScale(0.1,0.5); ``` **代码说明**: 假设视口大小为800*600 - scaleX值`0.1` 表示x轴缩放中心点...
来源: Laya2.0_文档 发布时间: 20210714
... Laya.Vector3(-15, 0, 0), true, false); this.camera.clearColor = null; //方向光 var directionLight: Laya.DirectionLight = scene.addChild(new Laya.DirectionLight()) as Laya.DirectionLight; directionLight.color = new Laya.Vector3(0.6, 0.6, 0.6); directionLight.direction = new Laya.Vector3(1, -1, ...
来源: Laya_社区 发布时间: 20180820
...布尔值,指示是否为垂直滚动。如果值为true,则为垂直方向,否则为水平方向。 默认值为:true。 default true mouseThrough mouseThrough: boolean = false Inherited from Text.mouseThrough Defined in laya/display/Sprite.ts:260 鼠标事件与此对象的碰撞检测是...
来源: Laya3.0_api 发布时间: 20231115