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

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

331. laya3.0.4 材质类型识别的bug问题 [ 68%]

...是material类型 类似的给属性赋值的方法 1. 获取属性特定ID Shad3d.propertyNameToID("name"); 2.从材质上获取shaderData(参见material.ts) 3.通过获取到的shaderData对象调用特定的setXXX(id, value)方法(参见shaderData.ts)   2023-09-05 0 2 分享 微博 QZONE 微...

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

332. laya.physics.joint.MouseJoint [ 68%]

...光标的位置。而在旋转方面就没有限制。 Public Properties Hide Inherited Public Properties Show Inherited Public Properties PropertyDefined By  anchor : Array[首次设置有效]关节的链接点,是相对于自身刚体的左上角位置偏移,如果不设置,则根据鼠...

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

333. laya.d3.physics.PhysicsCollider [ 68%]

...tionAll Packages | All Classes | Index | Frames No Frames PhysicsColliderProperties | Methods Packagelaya.d3.physicsClasspublic class PhysicsColliderInheritancePhysicsCollider PhysicsTriggerComponent PhysicsComponent Component Object PhysicsCollider 类用于创建物理碰撞器。 Public P...

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

334. laya.d3.core.pixelLine.PixelLineRenderer [ 68%]

...tcher Object PixelLineRenderer 类用于线渲染器。 Public Properties Hide Inherited Public Properties Show Inherited Public Properties PropertyDefined By bounds : Bounds[read-only] 获取包围盒,只读,不允许修改其值。 BaseRender castShadow : Boolean 获取是否产生阴影。 Bas...

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

335. drawToCanvas截图在某些手机上会变暗 [ 68%]

...我的项目里用的是游戏界面 var snapshot = new Image(); //给个ID方便添加CSS样式 snapshot.id = "snapshot"; //将整个STAGE画到图片里 snapshot.src = Laya.stage.drawToCanvas(1080,1920, 0, 0).getCanvas().toDataURL(); //图片显示在页面中 document.body.appendChild(snapshot); ...

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

336. 新手常问问题 欢迎补充 [ 68%]

...1654 2018-03-08 0 0 分享 微博 QZONE 微信 qian 赞同来自: 5. 常见ide错误提示 https://ask.layabox.com/question/4562 Cannot connect to runtime process, timeout after 10000 ms - (reason: Can't find a target that matches: file:// https://ask.layabox.com/question/12302   2018-03-08 0 0 ...

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

337. laya.d3.component.volume.reflectionprobe.ReflectionProbe_API3.0 [ 68%]

...unds boundsMax boundsMin boxProjection customReflection destroyed enabled hideFlags iblTex iblTexRGBD id importance probePosition reflectionDecodingFormat reflectionIntensity reflectionTexture type Methods _VolumeChange _addRenderNode _initialize _motionInVolume _reCaculateBoundBox _removeRenderNode...

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

338. Native 在iOS上支付失败的问题,及临时解决方法 [ 68%]

...ctionary* dict = [[NSMutableDictionary alloc] init]; [dict setObject:sOrderID forKey:@"order_id"]; [dict setObject:sCallbackURL forKey:@"backurl"]; [dict setObject:self.gameAppID forKey:@"gameid"]; NSData* pData = [NSKeyedArchiver archivedDataWithRootObject:dict]; [b]payment.requestData = pData;[/b]...

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

339. laya.d3.component.animation.CameraAnimations [ 68%]

...ameraAnimations 类用于创建摄像机动画组件。 Public Properties Hide Inherited Public Properties Show Inherited Public Properties PropertyDefined By  addMode : Boolean = true叠加模式。CameraAnimations currentAnimationClipIndex : int[read-only] 获取播放器的动画索引。 Key...

来源: laya_api 发布时间: 20170603

340. laya.ui.Widget [ 68%]

... DocumentationAll Packages | All Classes | Index | Frames No Frames WidgetProperties | Methods | Constants Packagelaya.uiClasspublic class WidgetInheritanceWidget Component Object 相对布局插件 Public Properties Hide Inherited Public Properties Show Inherited Public Properties Propert...

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