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

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

51. laya.ui.TipManager [ 97%]

...Packagelaya.uiClasspublic class TipManagerInheritanceTipManager Component Sprite Node EventDispatcher Object鼠标提示管理类Public Properties Hide Inherited Public Properties Show Inherited Public Properties PropertyDefined By alpha : Number透明度,值为0-1,默认值为1,表示不透...

来源: laya_api 发布时间: 20170929

52. sprite的rotation设置的位置不一样,子sprite的方向也不一样 [ 97%]

sprite的rotation设置的位置不一样,子sprite的方向也不一样 var s1 = new Laya.Sprite(); var s2 = new Laya.Sprite(); var s3 = new Laya.Sprite(); s1.width = 64; s1.height = 64; s1.pivot(32, 32); s1.rotation = 90; s2.addChild(s3); s1.addChild(s2);    var s1 = new Laya.Sprite(); var s2...

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

53. Sprite-轴心点 [ 97%]

...种开发语言、LayaAirIDE让项目开发更高效。(function() { var Sprite = Laya.Sprite; var Stage = Laya.Stage; var Event = Laya.Event; var Browser = Laya.Browser; var WebGL = Laya.WebGL; var sp1, sp2; (function() { // 不支持WebGL时自动切换至Canvas Laya.init(Browser.clientWidth, Brow...

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

54. laya.display.EffectAnimation [ 97%]

...ass EffectAnimationInheritanceEffectAnimation FrameAnimation AnimationBase Sprite Node EventDispatcher Object 动效模板。用于为指定目标对象添加动画效果。每个动效有唯一的目标对象,而同一个对象可以添加多个动效。 当一个动效开始播放时,其他动...

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

55. laya.map.MapLayer [ 97%]

...ds | Events Packagelaya.mapClasspublic class MapLayerInheritanceMapLayer Sprite Node EventDispatcher Object 地图支持多层渲染(例如,地表层,植被层,建筑层等) 本类就是层级类 Public Properties Hide Inherited Public Properties Show Inherited Public Properties Propert...

来源: laya_api 发布时间: 20170929

56. Sprite3D-Sprite3D变换 [ 97%]

...s, onComplete)); function onComplete() { layaMonkey1 = scene.addChild(Laya.Sprite3D.load("../../res/threeDimen/skinModel/LayaMonkey/LayaMonkey.lh")); layaMonkey2 = Laya.Sprite3D.instantiate(layaMonkey1, scene, false, new Laya.Vector3(0, 0, 0)); layaMonkey3 = scene.addChild(Laya.Sprite3D.instantiate(...

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

57. laya.ui.VBox [ 97%]

...kagelaya.uiClasspublic class VBoxInheritanceVBox LayoutBox Box UIComponent Sprite Node EventDispatcher Object VBox 是一个垂直布局容器类。 Public Properties Hide Inherited Public Properties Show Inherited Public Properties PropertyDefined By active : Boolean 获取自身是否激活。 N...

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

58. laya.ui.VBox [ 97%]

...ackagelaya.uiClasspublic class VBoxInheritanceVBox LayoutBox Box Component Sprite Node EventDispatcher Object VBox 是一个垂直布局容器类。 Public Properties Hide Inherited Public Properties Show Inherited Public Properties PropertyDefined By align : String 子对象对齐方式。LayoutB...

来源: laya_api 发布时间: 20170929

59. Sprite-缓存为静态图像 [ 97%]

...peScript三种开发语言、LayaAirIDE让项目开发更高效。class Sprite_Cache { constructor() { const Browser = Laya.Browser, WebGL = Laya.WebGL, Stage = Laya.Stage; // 不支持WebGL时自动切换至Canvas Laya.init(Browser.clientWidth, Browser.clientHeight, WebGL); Laya.stage.alignV = S...

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

60. laya.ui.HBox [ 97%]

...kagelaya.uiClasspublic class HBoxInheritanceHBox LayoutBox Box UIComponent Sprite Node EventDispatcher Object HBox 是一个水平布局容器类。 Public Properties Hide Inherited Public Properties Show Inherited Public Properties PropertyDefined By active : Boolean 获取自身是否激活。 N...

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