大约有 919 项符合查询结果, 库内数据总量为 30,778 项。 (搜索耗时: 0.0050 秒)
Laya3.0_api(529) Laya_社区(122) Laya2.0_api(101) laya_api(89) Laya3.0_文档(36) Laya2.0_文档(26) Laya2.0_示例(10) Laya_示例(6)
...doc override Returns void setshader setshader(shader: Shader3D, subShader: number, shaderData: ShaderData): void Defined in laya/d3/core/render/command/BlitFrameBufferCMD.ts:94 Parameters shader: Shader3D subShader: number shaderData: ShaderData Returns void Static create create(source: BaseTexture,...
来源: Laya3.0_api 发布时间: 20231115
...建渐变角速度。 Public Properties PropertyDefined By constant : Number[read-only] 固定角速度。 GradientAngularVelocity constantMax : Number[read-only] 最大随机双固定角速度。 GradientAngularVelocity constantMaxSeparate : Vector4[read-only] 最大分轴随机双固定...
来源: laya_api 发布时间: 20170929
...roperties Show Inherited Public Properties PropertyDefined By length : Number[read-only] 获取长度。 CapsuleColliderShape localOffset : Vector3 获取Shape的本地偏移。 ColliderShape localRotation : Quaternion 获取Shape的本地旋转。 ColliderShape needsCustomCollisionCallback :...
来源: Laya2.0_api 发布时间: 20190513
...new DOM_Form();class DOM_Form{ private form:Laya.Sprite; private rowHeight:number = 30; private rowSpacing:number = 10; constructor() { Laya.init(600,400); Laya.stage.alignH = Laya.Stage.ALIGN_CENTER; Laya.stage.alignV = Laya.Stage.ALIGN_MIDDLE; Laya.stage.scaleMode = Laya.Stage.SCALE_SHOWALL; Laya....
来源: Laya2.0_示例 发布时间: 20241118
...Update Constructors constructor new CannonPhysicsComponent(collisionGroup: number, canCollideWith: number): CannonPhysicsComponent Overrides Component.constructor Defined in laya/d3/physicsCannon/CannonPhysicsComponent.ts:309 创建一个 PhysicsComponent 实例。 Parameters collisionGroup: number ...
来源: Laya3.0_api 发布时间: 20231102
...olean Defined in laya/html/XMLIterator.ts:28 Static lastTagEnd lastTagEnd: number Defined in laya/html/XMLIterator.ts:27 Static lastTagName lastTagName: string Defined in laya/html/XMLIterator.ts:20 Static lowerCaseName lowerCaseName: boolean Defined in laya/html/XMLIterator.ts:29 Static parsePos pa...
来源: Laya3.0_api 发布时间: 20231115
...void { // 给List对象赋值 var data: Array<any> = []; for (var m: number = 0; m < 20; m++) { data.push({ m_label: "No." + m }); } this.list.array = data; } } 代码中,m_label的命名要与List列表项下的Label组件命名相同。 1.2.5 运行查看效果 将脚本挂载到Scene2D...
来源: Laya3.0_文档 发布时间: 20241014
...了!/** * 角色创建 */ public function init(interval,type:String,hp:Number,speed:Number,hitRadius:Number,camp:Number,heroType:Number = 0):void { //初始化属性 this.type = type; this.hp = hp; this.speed = speed; this.hitRadius = hitRadius; this.camp = camp; this.heroType = heroType; if(!Role...
来源: Laya_社区 发布时间: 20170420
...ined in laya/d3/core/TransLargeUBOUtils.ts:11 currentlength currentlength: number = 0 Defined in laya/d3/core/TransLargeUBOUtils.ts:15 defaultSubData defaultSubData: SubUniformBufferData Defined in laya/d3/core/TransLargeUBOUtils.ts:23 maxlength maxlength: number Defined in laya/d3/core/TransLargeUB...
来源: Laya3.0_api 发布时间: 20231102
...ameters value: IndexFormat Returns void instanceCount get instanceCount(): number set instanceCount(value: number): void Defined in laya/d3/RenderObjs/NativeOBJ/NativeRenderGeometryElementOBJ.ts:83 Returns number Defined in laya/d3/RenderObjs/NativeOBJ/NativeRenderGeometryElementOBJ.ts:79 Parameters...
来源: Laya3.0_api 发布时间: 20231115