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

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

371. laya.d3.physicscannon.shape.CannonBoxColliderShape_API3.0 [ 84%]

...ape.ts:44 创建一个新的 BoxColliderShape 实例。 Parameters Default value sizeX: number = 1 盒子X轴尺寸。 Default value sizeY: number = 1 盒子Y轴尺寸。 Default value sizeZ: number = 1 盒子Z轴尺寸。 Returns CannonBoxColliderShape Properties needsCustomCollisionCallback needsC...

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

372. laya.d3.math.BoundSphere_API3.0 [ 84%]

...th/BoundSphere.ts:30 创建一个 BoundSphere 实例。 Parameters Default value center: Vector3 = new Vector3 包围球的中心。 Default value radius: number = 0 包围球的半径。 Returns BoundSphere Properties _center _center: Vector3 Defined in laya/d3/math/BoundSphere.ts:13 包围球的...

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

373. laya3.0中jszip使用异常 [ 84%]

...andler.create(this, this.onLoadCfg, null, false)).then(             (value) => {                 JSZip.loadAsync(value).then(                     (zipData: JSZip) => {                         console.log(zipData.files);                         fo...

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

374. 分包后, 资源加载问题 [ 84%]

...olor":"#008aff"}}],"animations":[{"nodes":[{"target":3,"keyframes":{"y":[{"value":192,"tweenMethod":"linearNone","tween":true,"target":3,"key":"y","index":0},{"value":0,"tweenMethod":"linearNone","tween":true,"target":3,"key":"y","index":100}],"x":[{"value":0,"tweenMethod":"linearNone","tween":true,...

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

375. 我用的HBox做的进度条为啥总是一闪一闪的。 [ 84%]

...个字体为啥总是一闪一闪的 没有一直显示啊 public onChange(value: number): void { console.log("进度:" + Math.floor(value * 100) + "%"); var num:number = Math.floor(value*100); // this.updateFont(num); this.updateFont(100); //test用 // if(num==100){ // G.I.loginManager.preload();...

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

376. Byte二进制读写(JavaScript-LayaAir基础篇(JS)-数据与通信) [ 84%]

...------------写入数据---------------------------------- - **writeByte**(value:number)在字节流中写入一个字节。 ```typescript var byte = new Laya.Byte(); byte.writeByte(10);//0-255之间 ``` - **writeFloat32**(value:number)在当前字节偏移量位置处写入 Float32 值。范围是$...

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

377. laya.d3.renderobjs.renderobj.RenderGeometryElementOBJ_API3.0 [ 84%]

... mode Accessors indexFormat get indexFormat(): IndexFormat set indexFormat(value: IndexFormat): void Defined in laya/d3/RenderObjs/RenderObj/RenderGeometryElementOBJ.ts:52 index format Returns IndexFormat Defined in laya/d3/RenderObjs/RenderObj/RenderGeometryElementOBJ.ts:56 index format Parameters ...

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

378. laya.d3.physics.constraints.FixedConstraint_API3.0 [ 84%]

...mponents/Component.ts:35 Accessors anchor get anchor(): Vector3 set anchor(value: Vector3): void Inherited from ConstraintComponent.anchor Defined in laya/d3/physics/constraints/ConstraintComponent.ts:168 设置锚点 Returns Vector3 Inherited from ConstraintComponent.anchor Defined in laya/d3/physi...

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

379. laya.d3.core.material.PBRMaterial [ 84%]

...By alphaTest : Boolean 获取是否透明裁剪。 BaseMaterial alphaTestValue : Number 获取透明测试模式裁剪值。 BaseMaterial blend : int透明混合。BaseMaterial blendConstColor : Vector4混合常量颜色。BaseMaterial blendEquation : int混合方程。BaseMaterial blendEquati...

来源: laya_api 发布时间: 20170929

380. 有没有方法可以拿到模型的属性,修改属性值? [ 84%]

...改变此属性会重新生成顶点和索引)          * @param value 半径          */         public function set radius(value:Number):void    /**          * 设置高度(改变此属性会重新生成顶点和索引)          * @param value 高...

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