大约有 219 项符合查询结果, 库内数据总量为 4,834 项。 (搜索耗时: 0.0028 秒)
...blic Methods MethodDefined By Color(str:*) 根据指定的属性值,创建一个 Color 类的实例。 Color create(str:*):Color[static] 根据指定的属性值,创建并返回一个 Color 类的实例。 ColorProperty Detail_drawStylepropertypublic var _drawStyle:*numColorproperty pub...
来源: laya_api 发布时间: 20170422
...elaya.d3.mathClasspublic class PlaneInheritancePlane Object Plane 类用于创建平面。 Public Properties PropertyDefined By distance : Number平面到坐标系原点的距离Plane normal : Vector3平面的向量Plane PlaneIntersectionType_Back : int = 0[static] 平面与其他几何体...
来源: laya_api 发布时间: 20170929
...存贮、重复使用。 合理使用对象池,可以有效减少对象创建的开销,避免频繁的垃圾回收,从而优化游戏流畅度。 Public Methods MethodDefined By clearBySign(sign:String):void[static] 清除对象池的对象。 Pool getItem(sign:String):*[static] 根据...
来源: laya_api 发布时间: 20170929
...下文。 HTMLCanvas create : Function[static] 根据指定的类型,创建一个 HTMLCanvas 实例。 HTMLCanvas getContext : Function 获取 Canvas 渲染上下文。 HTMLCanvasPublic Methods MethodDefined By HTMLCanvas(type:String) 根据指定的类型,创建一个 HTMLCanvas 实...
来源: laya_api 发布时间: 20170929
...ScriptInheritanceScript Component3D EventDispatcher Object Script 类用于创建脚本的父类。 Public Properties Hide Inherited Public Properties Show Inherited Public Properties PropertyDefined By destroyed : Boolean[read-only] 获取是否已销毁。 Component3D enable : Boolean 获取是...
来源: laya_api 发布时间: 20170929
... MeshFilter, ShurikenParticleSystem, TerrainFilter GeometryFilter 类用于创建集合体过滤器,抽象类不允许实例。 Public Properties PropertyDefined By destroyed : Boolean[read-only] 获取是否已销毁。 GeometryFilterPublic Methods Hide Inherited Public Methods Show Inherited P...
来源: laya_api 发布时间: 20170929
...来的GET参数 分享:LayaAir下如何获取图集下的小图资源? 创建动效模板 可能存在bug 问题状态 最新活动: 2018-03-15 16:16 浏览: 770 关注: 3 人 momo199059 • 2018-03-15 16:18 那要怎么样获取到动效呢 qian • 2018-03-15 16:20 通过变量去控制 momo19...
来源: Laya_社区 发布时间: 20180315
...r 是事件处理器类。 推荐使用 Handler.create() 方法从对象池创建,减少对象创建消耗。创建的 Handler 对象不再使用后,可以使用 Handler.recover() 将其回收到对象池,回收后不要再使用此对象,否则会导致不可预料的错误。 注意:由...
来源: laya_api 发布时间: 20170929
...nheritanceBaseMesh laya.resource.ResourceSubclasses Mesh BaseMesh 类用于创建网格,抽象类,不允许实例。 Public Properties PropertyDefined By boundingBox : BoundBox[read-only] 获取AABB包围盒,禁止修改其数据。 BaseMesh boundingBoxCorners : Array[read-only] 获取包围...
来源: laya_api 发布时间: 20170929
...ientedBoundBoxInheritanceOrientedBoundBox Object OrientedBoundBox 类用于创建OBB包围盒。 Public Properties PropertyDefined By extents : Vector3每个轴长度的一半OrientedBoundBox transformation : Matrix4x4这个矩阵表示包围盒的位置和缩放,它的平移向量表示该...
来源: laya_api 发布时间: 20170929