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

大约有 413 项符合查询结果, 库内数据总量为 30,723 项。 (搜索耗时: 0.0036 秒)

51. laya.d3.math.Color_API3.0 [ 82%]

...efined in laya/d3/math/Color.ts:97 创建一个 Color 实例。 Parameters Default value r: number = 1 颜色的red分量。 Default value g: number = 1 颜色的green分量。 Default value b: number = 1 颜色的blue分量。 Default value a: number = 1 颜色的alpha分量。 Returns Color Proper...

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

52. laya.d3.core.particleshuriken.module.FrameOverTime_API3.0 [ 82%]

...rTime.ts:14 通过固定帧创建一个 FrameOverTime 实例。 Parameters Default value constant: number = 0 固定帧。 Returns FrameOverTime 时间帧。 Static createByOverTime createByOverTime(overTime: GradientDataInt): FrameOverTime Defined in laya/d3/core/particleShuriKen/module/FrameOverTi...

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

53. TypeScript在LayaAir 1.X和2.X中对待module和namespace的异同,求2.x使用自定义namespace的方法(module已经找到方法) [ 82%]

... AM{ export class AC { public static myname:string = "I'm AC!"; } } export default AM; b.ts ---------------------------- module AM{ export class BC { public static myname:string = "I'm BC!"; } } export default AM; c.ts -------------------------- import AM from './a'; //这一句LayaAir IDE 2.0会自...

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

54. laya.d3.renderobjs.nativeobj.NativeIndexBuffer3D_API3.0 [ 82%]

...texBuffer3D 实例。 Parameters indexType: IndexFormat indexCount: number Default value bufferUsage: BufferUsage = BufferUsage.Static VertexBuffer3D用途类型。 Default value canRead: boolean = false 是否可读。 Returns NativeIndexBuffer3D Properties _buffer _buffer: Float32Array | Uint16Arr...

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

55. laya.utils.TimeLine_API3.0 [ 82%]

... props: any 要控制对象的属性 duration: number 对象TWEEN的时间 Default value ease: Function = null 缓动类型 Default value offset: number = 0 相对于上一个对象,偏移多长时间(单位:毫秒) Returns TimeLine gotoLabel gotoLabel(Label: string): void Defined in laya/ut...

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

56. 2.0 Beta3版本中,runtime脚本的的问题 [ 81%]

...geRunTime from "./game/ImageRunTime" /* * 游戏初始化配置; */ export default class GameConfig{ static width:number=640; static height:number=1136; static scaleMode:string="fixedwidth"; static screenMode:string="none"; static alignV:string="top"; static alignH:string="left"; static startScene:a...

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

57. laya.d3.graphics.VertexBuffer3D_API3.0 [ 81%]

...ber 字节长度。 bufferUsage: BufferUsage VertexBuffer3D用途类型。 Default value canRead: boolean = false 是否可读。 Returns VertexBuffer3D Properties _buffer _buffer: Float32Array | Uint16Array | Uint8Array | Uint32Array Inherited from Buffer._buffer Defined in laya/RenderEngine/Buffer...

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

58. laya.maths.Point_API3.0 [ 81%]

...t.ts:16 根据指定坐标,创建一个新的 Point 对象。 Parameters Default value x: number = 0 (可选)水平坐标。 Default value y: number = 0 (可选)垂直坐标。 Returns Point Properties x x: number Defined in laya/maths/Point.ts:14 该点的水平坐标。 y y: number Defin...

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

59. laya.d3.core.particleshuriken.module.shape.SphereShape_API3.0 [ 81%]

...eters position: Vector3 粒子位置。 direction: Vector3 粒子方向。 Default value rand: Rand = null Default value randomSeeds: Uint32Array = null Returns void Globals "laya/d3/core/particleShuriKen/module/shape/SphereShape" SphereShape constructor emitFromShell enable radius randomDirection s...

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

60. laya.d3.core.particleshuriken.module.shape.HemisphereShape_API3.0 [ 81%]

...eters position: Vector3 粒子位置。 direction: Vector3 粒子方向。 Default value rand: Rand = null Default value randomSeeds: Uint32Array = null Returns void Globals "laya/d3/core/particleShuriKen/module/shape/HemisphereShape" HemisphereShape constructor emitFromShell enable radius randomDir...

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