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

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

141. laya.d3.math.Vector4 [ 69%]

API DocumentationAll Packages | All Classes | Index | Frames No Frames Vector4Properties | Methods Packagelaya.d3.mathClasspublic class Vector4InheritanceVector4 ObjectImplements laya.d3.core.IClone Vector4 类用于创建四维向量。 Public Properties PropertyDefined By  elements : *...

来源: laya_api 发布时间: 20170929

142. 关于camera的四元素问题 [ 69%]

...02-25 19:44 https://layaair2.ldc2.layabox. ... 0beta*type=3D*category=Math*class=laya.d3.math.native.ConchQuaternion shiyang • 2021-02-26 09:25 连接有问题吧 shiyang • 2021-02-26 09:27 这个是native的四元素类,也没有看到有将左手坐标系四元素转换成右手坐标系四...

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

143. ts加密md5码封装 [ 69%]

...3456"); console.log(str) //len:32 //e10adc3949ba59abbe56e057f20f883emd5.ts class Md5 { private static _inst:Md5; public static get Instance():Md5 { return this._inst ||(this._inst = new Md5()); } public get_md5(str:string):string { return this.md5(str); } split(target: string | any[], step: number, ...

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

144. 要做一个方形倒计时,请问该怎么实现,不知道该怎么做 [ 69%]

...p.TheGame; import laya.display.Sprite; import laya.maths.Rectangle; public class CdSprite extends Sprite { public static const START:int = -90; public static const COLOR:String = "#000000"; private var r:Number = BarCell.WID / Math.SQRT2; private var rect:Rectangle = new Rectangle(0,0,BarCell.WID,Ba...

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

145. 射线检测-碰撞器混合 [ 68%]

...eyMeshSprite3D.addComponent(DrawBoxColliderScript); this.debug = false; } }class ColiderDemo { /**键盘的上下左右控制猴子位移**/ private scene:Laya.Scene; private camera:Laya.Camera; private layaMonkey:Laya.Sprite3D; private layaMonkeyMeshSprite3D:Laya.SkinnedMeshSprite3D; private _tempU...

来源: Laya_示例 发布时间: 20241002

146. laya.d3.math.Vector4 [ 68%]

API DocumentationAll Packages | All Classes | Index | Frames No Frames Vector4Properties | Methods Packagelaya.d3.mathClasspublic class Vector4InheritanceVector4 ObjectImplements laya.d3.core.IClone Vector4 类用于创建四维向量。 Public Properties PropertyDefined By  ONE : Vector...

来源: Laya2.0_api 发布时间: 20190513

147. 其他引擎的Demo-Example_04 [ 68%]

...wser.width, h = Browser.height, slideX = w / 2, slideY = h / 2, speedInfo; class PIXI_Example_04 { constructor() { const WebGL = Laya.WebGL, Stage = Laya.Stage, Stat = Laya.Stat, Handler = Laya.Handler, Loader = Laya.Loader; // 不支持WebGL时自动切换至Canvas Laya.init(w, h, WebGL); Laya.stag...

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

148. laya.d3.math.Quaternion [ 68%]

API DocumentationAll Packages | All Classes | Index | Frames No Frames QuaternionProperties | Methods | Constants Packagelaya.d3.mathClasspublic class QuaternionInheritanceQuaternion ObjectImplements laya.d3.core.IClone Quaternion 类用于创建四元数。 Public Properties PropertyDefi...

来源: Laya2.0_api 发布时间: 20190513

149. 扇形遮罩画不全画了一个很奇怪的形状但是矩形的就没问题。显示效果如下:版本号1.7.10 [ 68%]

...import laya.maths.Size;     import laya.ui.Image;          public class ProcessTimer extends Sprite     {         public var img:Image;         public var maskSp:Sprite;         public var percent:Number;         public var type:String = "PROGRESS_TIMER_TYPE_RADIA...

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

150. 照相机-正交相机 [ 68%]

...oord(pos, _translate); layaMonkey.transform.position = _translate; }); }); class OrthographicCamera { private pos: Laya.Vector3 = new Laya.Vector3(310, 500, 0); private _translate: Laya.Vector3 = new Laya.Vector3(0, 0, 0); constructor() { Laya3D.init(1024, 768, true); Laya.stage.scaleMode = Laya.Sta...

来源: Laya_示例 发布时间: 20241002