大约有 1,395 项符合查询结果, 库内数据总量为 31,625 项。 (搜索耗时: 0.0061 秒)
Laya_社区(1045) Laya3.0_api(103) laya_api(78) Laya2.0_api(69) Laya2.0_文档(64) Laya3.0_文档(33) Laya2.0_示例(2) Laya_示例(1)
... 发光滤镜类 GlowFilter位于laya.filters包中,通过调整发光的偏移角度也可以当成阴影滤使用,参数说明如图2所示。注意:该滤镜只支持WebGL模式下有效。  (图2) 点击 [laya.filters. GlowFilter](https://layaair2.ldc2.layabox.com/api2/Ch...
来源: Laya2.0_文档 发布时间: 20210715
...操作原始字节数据所带来的复杂性,无需手动处理字节的偏移、转换和编码等问题。它使得开发者可以像操作普通数组一样便捷地处理二进制数据,提高了开发效率。 常见的 TypedArray 视图数据类型如下: 类型 说明 Uint8Array 用于...
来源: Laya3.0_文档 发布时间: 20251010
...就死了。 var Game = (function(){ (function Game(){ // 子弹发射偏移位置表 this.bulletPos = [[0],[-15,15],[-30,0,30],[-45,-15,15,45]]; // 关卡等级 this.level = 0; // 升级等级所需要的成绩数量 this.levelUpScore = 0; // 积分成绩 this.score = 0; // 子弹级别 this.b...
来源: Laya_社区 发布时间: 20170525
...ters force: Vector3 作用力。 Default value localOffset: Vector3 = null 偏移,如果为null则为中心点 Returns void applyForceXYZ applyForceXYZ(fx: number, fy: number, fz: number, localOffset?: Vector3): void Defined in laya/d3/physics/Rigidbody3D.ts:658 应用作用力 Parameters fx: number...
来源: Laya3.0_api 发布时间: 20231115
...置有效]关节的链接点,是相对于自身刚体的左上角位置偏移 collideConnected collideConnected: boolean = false Defined in laya/physics/joint/RevoluteJoint.ts:20 [首次设置有效]两个刚体是否可以发生碰撞,默认为false otherBody otherBody: RigidBody Defined in lay...
来源: Laya3.0_api 发布时间: 20231115
...efined in laya/d3/core/material/PBRMaterial.ts:427 细节图纹理平铺和偏移。 Returns Vector4 Defined in laya/d3/core/material/PBRMaterial.ts:431 细节图纹理平铺和偏移。 Parameters value: Vector4 Returns void emissionColor get emissionColor(): Color set emissionColor(value: Color): ...
来源: Laya3.0_api 发布时间: 20231115
... Parameters array:Array — 数组。 offset:int (default = 0) — 数组偏移。 length()method public function length():Number 求四维向量的长度。 ReturnsNumber — 长度。 lengthSquared()method public function lengthSquared():Number 求四维向量长度的平方。 ReturnsNumber...
来源: Laya2.0_api 发布时间: 20190513
... Parameters array:Array — 数组。 offset:int (default = 0) — 数组偏移。 length()method public function length():Number 求四维向量的长度。 ReturnsNumber — 长度。 lengthSquared()method public function lengthSquared():Number 求四维向量长度的平方。 ReturnsNumber...
来源: Laya2.0_api 发布时间: 20190513
...象和UI的View组件默认为true。 Sprite iconOffset : String图标x,y偏移,格式:100,100Button label : String 按钮的文本内容。 Button labelAlign : String标签对齐模式,默认为居中对齐。Button labelBold : Boolean 表示按钮文本标签是否为粗体字。 Button...
来源: laya_api 发布时间: 20170929
... Parameters array:Array — 数组。 offset:int (default = 0) — 数组偏移。 getYawPitchRoll()method public function getYawPitchRoll(out:Vector3):void 分解四元数到欧拉角(顺序为Yaw、Pitch、Roll),参考自http://xboxforums.create.msdn.com/forums/p/4574/23988.aspx#23988,...
来源: Laya2.0_api 发布时间: 20190513