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

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

1. laya.d3.math.RandX [ 100%]

...用于通过128位整型种子创建随机数,算法来自:https://github.com/AndreasMadsen/xorshift。 Public Properties PropertyDefined By  defaultRand : RandX[static] 基于时间种子的随机数。RandXPublic Methods  MethodDefined By  RandX(seed:Array) 创建一个 Rand 实例。 RandX...

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

2. laya.device.motion.Gyroscope [ 86%]

...,保存设备的旋转值。 浏览器兼容性参见:http://caniuse.com/#search=deviceorientation Public Properties PropertyDefined By  instance : Gyroscope[static] [read-only] GyroscopePublic Methods Hide Inherited Public Methods Show Inherited Public Methods MethodDefined By  Gyroscope(...

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

3. laya.display.BitmapFont [ 82%]

... 字体制作及使用方法,请参考文章 See alsohttp://ldc2.layabox.com/doc/?nav=ch-js-1-2-5Public Properties PropertyDefined By  autoScaleSize : Boolean = false表示是否根据实际使用的字体大小缩放位图字体大小。BitmapFont  fontSize : Number = 12当前位图字体字...

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

4. laya.d3.math.Quaternion [ 81%]

...(顺序为Yaw、Pitch、Roll),参考自http://xboxforums.create.msdn.com/forums/p/4574/23988.aspx#23988,问题绕X轴翻转超过±90度时有,会产生瞬间反转 Quaternion  identity():void 置四元数为单位算数 Quaternion  invert(out:Quaternion):void 求四元数的逆 Quaterni...

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

5. laya.d3.math.Native.ConchQuaternion [ 78%]

...(顺序为Yaw、Pitch、Roll),参考自http://xboxforums.create.msdn.com/forums/p/4574/23988.aspx#23988,问题绕X轴翻转超过±90度时有,会产生瞬间反转 ConchQuaternion  identity():void 置四元数为单位算数 ConchQuaternion  invert(out:ConchQuaternion):void 求四元数...

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

6. laya.device.media.Video [ 63%]

...器有效。 关于Video支持的所有事件参见:http://www.w3school.com.cn/tags/html_ref_audio_video_dom.asp。 注意: 在PC端可以在任何时机调用play()因此,可以在程序开始运行时就使Video开始播放。但是在移动端,只有在用户第一次触碰屏幕后才可...

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

7. laya.media.SoundManager [ 63%]

...wav格式)。 详细教程及声音格式请参考:http://ldc2.layabox.com/doc/?nav=ch-as-1-7-0 Public Properties PropertyDefined By  autoReleaseSound : Boolean = true[static] 音效播放后自动删除。 SoundManager  autoStopMusic : Boolean[static] 失去焦点后是否自动停止背...

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

8. laya.ui.TextInput [ 45%]

...nts Packagelaya.uiClasspublic class TextInputInheritanceTextInput Label UIComponent Sprite Node EventDispatcher ObjectSubclasses TextArea TextInput 类用于创建显示对象以显示和输入文本。 Public Properties Hide Inherited Public Properties Show Inherited Public Properties PropertyDef...

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

9. laya.display.Input [ 42%]

...件检测依据。 Stage对象和UI的View组件默认为true。 Sprite isComplexText : Boolean = false[static] WebGL下,文字会被拆分为单个字符进行渲染,一些语系不能拆开显示,比如阿拉伯文,这时可以设置isComplexText=true,禁用文字拆分。Text  isInpu...

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

10. laya.ui.TextArea [ 28%]

...kagelaya.uiClasspublic class TextAreaInheritanceTextArea TextInput Label UIComponent Sprite Node EventDispatcher Object TextArea 类用于创建显示对象以显示和输入文本。 Public Properties Hide Inherited Public Properties Show Inherited Public Properties PropertyDefined By active : Bo...

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