大约有 1,063 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0077 秒)
Laya_社区(391) Laya2.0_api(241) laya_api(189) Laya2.0_文档(81) Laya_示例(65) Laya2.0_示例(51) Laya3.0_api(32) Laya3.0_文档(13)
...Elements:Float32Array = null):voidVector4 fromArray(array:Array, offset:int = 0):void 从Array数组拷贝值。 Vector4 length():Number 求四维向量的长度。 Vector4 lengthSquared():Number 求四维向量长度的平方。 Vector4 lerp(a:Vector4, b:Vector4, t:Number, out:Vector4):...
来源: Laya2.0_api 发布时间: 20190513
...ments:Float32Array = null):voidQuaternion fromArray(array:Array, offset:int = 0):void 从Array数组拷贝值。 Quaternion getYawPitchRoll(out:Vector3):void 分解四元数到欧拉角(顺序为Yaw、Pitch、Roll),参考自http://xboxforums.create.msdn.com/forums/p/4574/23988.aspx#23988...
来源: Laya2.0_api 发布时间: 20190513
...es PropertyDefined By data : ColorFilterColorFilterActionGL typeMix : int[read-only] FilterActionGLPublic Methods Hide Inherited Public Methods Show Inherited Public Methods MethodDefined By ColorFilterActionGL()ColorFilterActionGL apply(srcCanvas:*):*FilterActionGL apply3d(scope:Submit...
来源: laya_api 发布时间: 20170929
...属性和方法 > 属性 `albedoColor:Vector4` 反照率颜色。 `albedoIntensity:Number` 反照率强度。 `albedoTexture:BaseTexture` 反照率贴图。 `enableVertexColor:Boolean` 是否支持顶点色。 `renderMode:int` [write-only] 设置渲染模式。 `tilingOffset:Vector4` 纹理平铺和...
来源: Laya2.0_文档 发布时间: 20210714
...属性和方法 > 属性 `albedoColor:Vector4` 反照率颜色。 `albedoIntensity:Number` 反照率强度。 `albedoTexture:BaseTexture` 反照率贴图。 `enableVertexColor:Boolean` 是否支持顶点色。 `renderMode:int` [write-only] 设置渲染模式。 `tilingOffset:Vector4` 纹理平铺和...
来源: Laya2.0_文档 发布时间: 20210715
... #### 主要属性与方法 > 属性 `color:Vector4` 颜色。 `renderMode:int` [write-only] 设置渲染模式。 `texture:BaseTexture` 贴图。 `tilingOffset:Vector4` 纹理平铺和偏移。 #### 创建和使用Effect材质 下面代码来自官方示例([demo地址](https://layaair.ldc.layabox....
来源: Laya2.0_文档 发布时间: 20210714
...er; import Handler = Laya.Handler; import WebGL = Laya.WebGL; export class Interaction_Drag { private ApePath: string = "../../res/apes/monkey2.png"; private ape: Sprite; private dragRegion: Rectangle; constructor() { // 不支持WebGL时自动切换至Canvas Laya.init(Browser.clientWidth, Browser.c...
来源: Laya_示例 发布时间: 20260303
...Shape needsCustomCollisionCallback : Boolean = falseColliderShape type : int[read-only] 获取碰撞类型。 ColliderShapePublic Methods Hide Inherited Public Methods Show Inherited Public Methods MethodDefined By StaticPlaneColliderShape(normal:Vector3, offset:Number) 创建一个新的 Stat...
来源: Laya2.0_api 发布时间: 20190513
... Dispather.event参数传的是数组,为什么收到的参数却是个int类型? layabox能不能由xml生成节点 自定义场景类型 找不到类型或类型不是编译时常量 ProtoBuf 其他消息类型怎么使用 MiniAdpter.autoCacheFile=true没有任何作用,并没有缓存资源...
来源: Laya_社区 发布时间: 20180820
...yer不支持的标签</SCRIPT> 子节点的 getChildIndex(node:Node):int 根据子节点对象,获取子节点的索引位置。参数是什么 如何移位置 如何获取和设置scrollbar的滚动位置 获取Sprite位置问题 Nodes 标签怎么使用 在富文本htmldivelement中的span...
来源: Laya_社区 发布时间: 20171126