大约有 1,016 项符合查询结果, 库内数据总量为 30,724 项。 (搜索耗时: 0.0043 秒)
...erited Public Properties Show Inherited Public Properties PropertyDefined By _bindActive : Object[static] Buffer _bindVertexBuffer : *[static] Buffer bufferUsage : int[read-only] Buffer _byteLength : int = 0Buffer canRead : Boolean[read-only] 获取是否可读。 IndexBuffer3D create : F...
来源: laya_api 发布时间: 20170929
...erited Public Properties Show Inherited Public Properties PropertyDefined By collideConnected : Boolean = false[首次设置有效]两个刚体是否可以发生碰撞,默认为falseRopeJoint destroyed : Boolean[read-only] 获取是否已经销毁 。 Component enabled : Boolean 获取是否...
来源: Laya2.0_api 发布时间: 20190513
...tanceFillTextureCmd Object 填充贴图 Public Properties PropertyDefined By height : Number (可选)高度。 FillTextureCmd offset : Point (可选)贴图纹理偏移 FillTextureCmd texture : Texture 纹理。 FillTextureCmd type : String (可选)填充类型 repeat|repeat-...
来源: Laya2.0_api 发布时间: 20190513
...erited Public Properties Show Inherited Public Properties PropertyDefined By anchor : Array[首次设置有效]关节的链接点,是相对于自身刚体的左上角位置偏移WeldJoint collideConnected : Boolean = false[首次设置有效]两个刚体是否可以发生碰撞,默认为f...
来源: Laya2.0_api 发布时间: 20190513
...进制和字符串。LayaAir引擎已经为我们封装好了websocket 和Byte的类,收发数据结合Byte类就可以完成。下面我们搭建一个简单的收发数据的例子来看下浏览器的长连接是如何工作的。 ### 客户端 LayaAir内部的Socket是对websocket的封装...
来源: Laya2.0_文档 发布时间: 20210715
...erited Public Properties Show Inherited Public Properties PropertyDefined By alphaTest : Boolean 获取是否透明裁剪。 BaseMaterial alphaTestValue : Number 获取透明测试模式裁剪值。 BaseMaterial exposure : Number 获取曝光强度。 SkyBoxMaterial renderQueue : int 所属...
来源: Laya2.0_api 发布时间: 20190513
...iveMesh Sphere 类用于创建方体。 Public Properties PropertyDefined By height : Number 返回高度 BoxMesh long : Number 返回长度 BoxMesh width : Number 返回宽度 BoxMeshPublic Methods MethodDefined By BoxMesh(long:Number = 1, width:Number = 1, height:int = 1) 创建一...
来源: laya_api 发布时间: 20170929
...iveMesh Sphere 类用于创建球体。 Public Properties PropertyDefined By radius : Number 返回半径 SphereMesh slices : int 获取宽度分段 SphereMesh stacks : int 获取高度分段 SphereMeshPublic Methods MethodDefined By SphereMesh(radius:Number = 0.5, stacks:int = 32, sl...
来源: laya_api 发布时间: 20170929
...erited Public Properties Show Inherited Public Properties PropertyDefined By currentAnimationClipIndex : int[read-only] 获取播放器的动画索引。 KeyframeAnimations currentFrameIndex : int[read-only] 获取播放器帧数。 KeyframeAnimations destroyed : Boolean[read-only] 获取是否...
来源: laya_api 发布时间: 20170603
...ylinderMesh 类用于创建圆柱体。 Public Properties PropertyDefined By height : Number 返回高度 CylinderMesh radius : Number 返回半径 CylinderMesh slices : int 获取宽度分段 CylinderMeshPublic Methods MethodDefined By CylinderMesh(radius:Number = 0.5, height:Number ...
来源: laya_api 发布时间: 20170929