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

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

2191. box2d引擎报错问题 [ 47%]

...ider),在运动到终点时再回收到Pool中,有概率报如下错误laya.physics.js:430 Uncaught TypeError: Cannot read property 'GetType' of null     at box2d.b2Fixture.GetType (laya.physics.js:430)     at box2d.b2ContactFactory.Create (laya.physics.js:576)     at box2d.b2ContactManage...

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

2192. laya.d3.core.material.BlinnPhongMaterial [ 47%]

...mes No Frames BlinnPhongMaterialProperties | Methods | Constants Packagelaya.d3.core.materialClasspublic class BlinnPhongMaterialInheritanceBlinnPhongMaterial BaseMaterial laya.resource.Resource BlinnPhongMaterial 类用于实现Blinn-Phong材质。 Public Properties Hide Inherited Public Propert...

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

2193. as hello world 背景还是黑色 [ 47%]

as hello world 背景还是黑色 as hello world package { import laya.ui.Label; public class LayaSample { public function LayaSample() { //初始化引擎 Laya.init(1136, 640); Laya.stage.bgColor = "#ffffff"; var sp : Label = new Label("hello world"); //sp.fontSize = 55; sp.pos(100, 100) ; //sp.co...

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

2194. 编辑器选择分离模式生成TS代码时能自动在createChildren里加上createView调用代码么? [ 47%]

...reateChildren():void {     super.createChildren();     this.createView(Laya.loader.getRes("test/TestPage.json"));     this.loadUI("test/TestPage"); }   2. 在编辑器生成代码的时候怎么添加自定义的操作? 比如我想同时生成一个UI资源引用的配置文件要怎么做 2...

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

2195. 从Unity中编辑并导出摄像机(ActionScript-3D基础(AS3)-LayaAir3D之Camera) [ 47%]

...,方便了开发者们对摄像机视角的控制。 ​ 同时,因为LayaAir 3D引擎支持多摄像机,因此也可以在unity中设置多个摄像机并导出,关于多摄像机的视口设置请查看本课最后的**“多摄像窗口机使用”**小节。 ### 在Unity中编辑摄像...

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

2196. laya.d3.graphics.VertexPositionNormalTexture0Texture1Skin [ 47%]

...ames VertexPositionNormalTexture0Texture1SkinProperties | Methods Packagelaya.d3.graphicsClasspublic class VertexPositionNormalTexture0Texture1SkinInheritanceVertexPositionNormalTexture0Texture1Skin ObjectImplements IVertex VertexPositionNormalColorTextureSkin 类用于创建位置、法线、颜...

来源: laya_api 发布时间: 20170929

2197. 请教下, 自己写了个渐变色shader, 但是效果始终不对。麻烦大神们看看代码哪里有问题 [ 47%]

...烦大神们看看代码哪里有问题 var attributeMap = { 'a_Position': Laya.VertexElementUsage.POSITION0 }; var uniformMap = { 'u_MvpMatrix': [Laya.Sprite3D.MVPMATRIX, Laya.Shader3D.PERIOD_MATERIAL], 'u_StartColor':[Laya.VertexElementUsage.STARTCOLOR0,Laya.Shader3D.PERIOD_MATERIAL], 'u_EndColor'...

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

2198. js调用android的java代码失败。NoSuchMethodException [ 47%]

LayaNative js调用android的java代码失败。NoSuchMethodException 错误描述为: JSRuntime::callMethod {"v":"java.lang.NoSuchMethodException: demo.JSBridge.testString: [class java.lang.String]"} demo.JSBridge testString:   在js那边的代码 为: _doTestCallJava(){ let os = null ...

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

2199. 给图片节点添加新创建的图片,会报这个错:node._setParent is not a function [ 47%]

...s not a function preload.js:55     at Image.__proto.addChild (file:///E:/laya/myLaya/myZootopia/bin/libs/laya.core.js:20925:9)     at LoveControl.createLoveArr (file:///E:/laya/myLaya/myZootopia/bin/js/bundle.js:180:34)     at LoveControl.onEnable (file:///E:/laya/myLaya/myZootopia/bin/js/bund...

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

2200. List组件拖动浏览时item会出现重叠的现象 [ 47%]

...览时item会出现重叠的现象 module list.datasource { import List = laya.ui.List; export class ListDataSourceMediator { constructor() { } public setUp():void { var list: List = new List(); // 渲染的item list.itemRender = ListDataSourceItem; // 设置行列显示的item个数 list.repeatX = ...

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