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

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

1. Shader中如何计算每个projCoord对应的screenCoord,归一化为[0,1] [ 100%]

Shader中如何计算每个projCoord对应的screenCoord,归一化为[0,1] 之前网上中的一些实现方法如下: vec4 computeScreenPos(vec4 projPos)             {                 vec3 ndc = projPos.xyz / projPos.w;                 vec4 s...

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

2. Laya.Vector3如何向量归一化? [ 99%]

Laya.Vector3如何向量归一化? 一个向量保持相同的方向,但它的长度为1.0。 2018-09-18 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复   赞同来自: https://blog.csdn.net/jacke121/article...

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

3. laya.d3.component.animator.AnimatorTransition_API3.0 [ 92%]

...ned in laya/d3/component/Animator/AnimatorTransition.ts:151 触发时间(归一化时间) Returns number Defined in laya/d3/component/Animator/AnimatorTransition.ts:147 触发时间(归一化时间) Parameters value: number Returns void mute get mute(): boolean set mute(value: boolean): void...

来源: Laya3.0_api 发布时间: 20231115

4. laya.d3.component.AnimatorPlayState [ 82%]

...imatorPlayState  normalizedTime : Number[read-only] 获取播放状态的归一化时间,整数为循环次数,小数为单次播放时间。 AnimatorPlayStatePublic Methods  MethodDefined By  AnimatorPlayState() 创建一个 AnimatorPlayState 实例。 AnimatorPlayStateProperty Detailduratio...

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

5. laya.renders.VertexElementFormat_API3.0 [ 72%]

...ing = "normalizedshort2" Defined in laya/renders/VertexElementFormat.ts:32 归一化半精度浮点数组2 Static NormalizedShort4 NormalizedShort4: string = "normalizedshort4" Defined in laya/renders/VertexElementFormat.ts:34 归一化半精度浮点数组4 Static Short2 Short2: string = "short2" D...

来源: Laya3.0_api 发布时间: 20231115

6. laya.d3.graphics.VertexElementFormat_API3.0 [ 71%]

...= "normalizedshort2" Defined in laya/d3/graphics/VertexElementFormat.ts:32 归一化半精度浮点数组2 Static NormalizedShort4 NormalizedShort4: string = "normalizedshort4" Defined in laya/d3/graphics/VertexElementFormat.ts:34 归一化半精度浮点数组4 Static Short2 Short2: string = "short...

来源: Laya3.0_api 发布时间: 20231102

7. 求一个三角旋转的算法代码。 [ 71%]

....cos(T));        return result;    } 引擎API调用 方法       归一化旋转轴 是ac轴         Matrix4x4.createRotationAxis(归一化的旋转轴,旋转角度,结果矩阵);         Vector3.transformV3ToV3(AB向量,结果矩阵,AD向量);   2019-12-18 1 4 分...

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

8. laya.d3.component.Animator [ 70%]

... transitionDuration:Number — 过渡时间,该值为当前动画状态的归一化时间,值在0.0~1.0之间。  layerIndex:int (default = 0) — 层索引。  normalizedTime:Number (default = NaN) — 归一化的播放起始时间。 getControllerLayer()method  public function getController...

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

9. laya.d3.math.Vector2 [ 69%]

...组拷贝值。 Vector2  normalize(s:Vector2, out:Vector2):void[static] 归一化二维向量。 Vector2  rewriteNumProperty(proto:*, name:String, index:int):void[static] Vector2  scalarLength(a:Vector2):Number[static] 计算标量长度。 Vector2  scale(a:Vector2, b:Number, out:Vector2):vo...

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

10. laya.d3.math.Vector3 [ 68%]

...量的乘积。 Vector3  normalize(s:Vector3, out:Vector3):void[static] 归一化三维向量。 Vector3  scalarLength(a:Vector3):Number[static] 计算标量长度。 Vector3  scalarLengthSquared(a:Vector3):Number[static] 计算标量长度的平方。 Vector3  scale(a:Vector3, b:Number, out...

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