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

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

211. tiledMap问题,getTileProperties获取地图属性不能获取到 [ 63%]

...   }     import { ui } from '../ui/layaMaxUI'; /**主界面 */ export default class Main extends ui.mainUI { /**地图链接 */ MAP_URL:string = 'res/tiled/map.json';  /**地图 */ map: Laya.TiledMap; constructor(){ super(); Laya.loader.create(this.MAP_URL, new Laya.Handler(this, this.onComple...

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

212. 性能测试-卡通人物2 [ 63%]

...bel = new Text(); this.nameLabel.color = "#FFFFFF"; this.nameLabel.text = "Default"; this.nameLabel.fontSize = 13; this.nameLabel.width = Character.WIDTH; this.nameLabel.align = "center"; this.addChild(this.nameLabel); } setSpeed(value) { this.speed = value; } setName(value) { this.nameLabel.text = ...

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

213. laya.d3.webxr.core.WebXRSessionManager_API3.0 [ 63%]

...nManager Index Properties baseReferenceSpace currentFrame currentTimestamp defaultHeightCompensation session viewerReferenceSpace EVENT_FRAME_LOOP EVENT_MANAGER_END Accessors currentFrameRate referenceSpace sessionMode supportedFrameRates Methods destroy endXRRenderLoop event exitXR hasListener init...

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

214. laya.d3.math.native.ConchVector3_API3.0 [ 63%]

...Y UnitZ Up ZERO Accessors x y z Methods clone cloneTo fromArray setValue toDefault Clamp TransformNormal add cross distance distanceSquared dot equals lerp max min multiply normalize scalarLength scalarLengthSquared scale subtract transformCoordinate transformQuat transformV3ToV3 transformV3ToV4 Con...

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

215. PBR标准材质实时阴影渲染问题 [ 63%]

...import ModelViewer from "./ModelViewer"; import Scene = Laya.Scene; export default class Game3D extends Scene { constructor() { super(); //初始化引擎 Laya3D.init(0, 0); var scene_360 = Laya.loader.getRes("LayaScene_PUCHENG3D/Conventional/PUCHENG3D.ls") as Laya.Scene3D; Laya.stage.addChildAt(sce...

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

216. laya.d3.core.light.PointLight_API3.0 [ 63%]

...rs method: Function 要执行的函数的名称。例如,functionName。 Default value args: any[] = null 传递给 method 函数的可选参数列表。 Returns void clearTimer clearTimer(caller: any, method: Function): void Inherited from Node.clearTimer Defined in laya/display/Node.ts:609 清...

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

217. laya.d3.physicscannon.shape.CannonCompoundColliderShape_API3.0 [ 63%]

...pe/CannonCompoundColliderShape.ts:58 Parameters shape: CannonColliderShape Default value localOffset: Vector3 = null Returns void bindRigidBody bindRigidBody(rigidbody: CannonPhysicsComponent): void Defined in laya/d3/physicsCannon/shape/CannonCompoundColliderShape.ts:92 Parameters rigidbody: Cannon...

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

218. runTime使用(TypeScript-IDE篇(TS)-组件化开发相关) [ 63%]

...部代码如下所示: ```typescript /* ImageRunTime逻辑类 */ export default class ImageRunTime extends Laya.Image{ public scaleTime:number = 100; constructor() { super(); //设置组件的中心点 this.anchorX = this.anchorY = 0.5; //添加鼠标按下事件侦听。按时时缩小按钮。 t...

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

219. laya.d3.core.light.SpotLight_API3.0 [ 63%]

...rs method: Function 要执行的函数的名称。例如,functionName。 Default value args: any[] = null 传递给 method 函数的可选参数列表。 Returns void clearTimer clearTimer(caller: any, method: Function): void Inherited from Node.clearTimer Defined in laya/display/Node.ts:609 清...

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

220. 2.0下资源加载和销毁内存问题 [ 63%]

...例 class bitmapimg extends Laya.Image //2.0版本 这里区别为export default class bitmap extends Laya.Image { private szurl:string="" constructor(url:string){ super() this.onUrlChangeHandler(url); } protected onUrlChangeHandler(url:string):void     { if(this.szurl!="") this.disp() this.szur...

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