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

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

551. laya.d3.resource.SolidColorTexture2D [ 85%]

...ames SolidColorTexture2DProperties | Methods Packagelaya.d3.resourceClasspublic class SolidColorTexture2DInheritanceSolidColorTexture2D BaseTexture laya.resource.Resource SolidColorTexture2D 二维纯色纹理。 Public Properties Hide Inherited Public Properties Show Inherited Public Properties ...

来源: laya_api 发布时间: 20170929

552. laya.events.KeyLocation [ 85%]

...| Index | Frames No Frames KeyLocationConstants Packagelaya.eventsClasspublic class KeyLocationInheritanceKeyLocation Object KeyLocation 类包含表示在键盘或类似键盘的输入设备上按键位置的常量。 KeyLocation 常数用在键盘事件对象的 keyLocation 属性中。 Public...

来源: laya_api 发布时间: 20170929

553. laya.events.KeyLocation [ 85%]

...| Index | Frames No Frames KeyLocationConstants Packagelaya.eventsClasspublic class KeyLocationInheritanceKeyLocation Object KeyLocation 类包含表示在键盘或类似键盘的输入设备上按键位置的常量。 KeyLocation 常数用在键盘事件对象的 keyLocation 属性中。 Public...

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

554. 物理碰撞脚本和触发器脚本(TypeScript-3D基础(TS)-LayaAir3D之物理系统) [ 85%]

...改为绿色 * 注:如相对移动速度过快,可能直接越过 */ public onTriggerEnter(other:Laya.PhysicsComponent):void { ((this.owner as Laya.MeshSprite3D).meshRenderer.sharedMaterial as BlinnPhongMaterial).albedoColor = new Laya.Vector4(0.0, 1.0, 0.0, 1.0); } /** * 当其他碰撞器进...

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

555. laya.map.MapLayer [ 85%]

...mes No Frames MapLayerProperties | Methods | Events Packagelaya.mapClasspublic class MapLayerInheritanceMapLayer Sprite Node EventDispatcher Object 地图支持多层渲染(例如,地表层,植被层,建筑层等) 本类就是层级类 Public Properties Hide Inherited Public Properties ...

来源: laya_api 发布时间: 20170929

556. CameraMoveScript.as在哪儿下载群里的有错 [ 85%]

CameraMoveScript.as在哪儿下载群里的有错 public function CameraMoveScript() { } override public function _initialize(owner:Sprite3D):void { super._initialize(owner); Laya.stage.on(Event.MOUSE_DOWN, this, mouseDown); Laya.stage.on(Event.MOUSE_UP, this, mouseUp); Laya.stage.on(Event.MOUSE_OU...

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

557. 物理碰撞脚本和触发器脚本(ActionScript-3D基础(AS3)-LayaAir3D之物理系统) [ 85%]

...色 * 注:如相对移动速度过快,可能直接越过 */ override public function onTriggerEnter(other:PhysicsComponent):void { ((owner as MeshSprite3D).meshRenderer.sharedMaterial as BlinnPhongMaterial).albedoColor = new Vector4(0.0, 1.0, 0.0, 1.0); } /** * 当其他碰撞器进入绑定物...

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

558. 2D物理-碰撞过滤器 [ 84%]

...t laya.physics.RigidBody; import laya.utils.Stat; import laya.webgl.WebGL; public class Physics_Physics_CollisionFiltering { public static const k_smallGroup = 1; public static const k_middleGroup = 0; public static const k_largeGroup = -1; public static const k_triangleCategory = 0x2; public static...

来源: Laya2.0_示例 发布时间: 20260106

559. 为何发生此类报错Uncaught TypeError: Cannot read property '_tf' of null [ 84%]

...载FGUI中的文件 var ProgressBar,resArray; Laya.loader.load([ {url:"res/Public.fui",type:laya.net.Loader.BUFFER}, {url:"res/Public@atlas_ucn9w.png",type:laya.net.Loader.IMAGE}, {url:"res/Public@atlas_ucn90.png",type:laya.net.Loader.IMAGE}, {url:"res/Public@atlas0.png",type:laya.net.Loader.IMAGE},...

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

560. 显示与切换图片(ActionScript-LayaAir基础篇(AS3)-位图) [ 84%]

...r),编写代码如下: ```java package { import laya.display.Sprite; public class Main { public function Main() { //初始化舞台 Laya.init(1334,750); //设置舞台背景色 Laya.stage.bgColor = "#ffffff" var img:Sprite = new Sprite(); //加载显示图片,坐标位于100,50 img.loadImage...

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