大约有 1,867 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0096 秒)
Laya_社区(615) Laya3.0_api(529) Laya2.0_api(242) laya_api(178) Laya2.0_文档(88) Laya_示例(78) Laya3.0_文档(69) Laya2.0_示例(68)
...是否销毁。 Returns boolean 是否销毁。 drawType get drawType(): number set drawType(value: number): void Inherited from GeometryElement.drawType Defined in laya/d3/core/GeometryElement.ts:52 draw Type Returns number Inherited from GeometryElement.drawType Defined in laya/d3/core/GeometryEle...
来源: Laya3.0_api 发布时间: 20231102
... in laya/components/Component.ts:86 Returns boolean damping get damping(): number set damping(value: number): void Defined in laya/physics/joint/WheelJoint.ts:92 刚体在回归到节点过程中受到的阻尼比,建议取值0~1 Returns number Defined in laya/physics/joint/WheelJoint.ts:96 刚体...
来源: Laya3.0_api 发布时间: 20231115
...archy : Boolean[read-only] 获取在场景中是否激活。 Node alpha : Number透明度,值为0-1,默认值为1,表示不透明。更改alpha值会影响drawcall。Sprite autoSize : Boolean = false 指定是否自动计算宽高数据。默认值为 false 。 Sprite宽高默认为0,并...
来源: Laya2.0_api 发布时间: 20190513
...e: boolean Returns Shader3D Properties Static PERIOD_CAMERA PERIOD_CAMERA: number = 3 Defined in laya/d3/shader/Shader3D.ts:61 shader变量提交周期,逐相机。 Static PERIOD_CUSTOM PERIOD_CUSTOM: number = 0 Defined in laya/d3/shader/Shader3D.ts:55 shader变量提交周期,自定义。 Stati...
来源: Laya3.0_api 发布时间: 20231102
...nsformV3ToV3 transformV3ToV4 Constructors constructor new ConchVector3(x?: number, y?: number, z?: number, nativeElements?: Float32Array): ConchVector3 Defined in laya/d3/math/Native/ConchVector3.ts:434 创建一个 Vector3 实例。 Parameters Default value x: number = 0 X轴坐标。 Default value...
来源: Laya3.0_api 发布时间: 20231102
...c Properties Show Inherited Public Properties PropertyDefined By alpha : Number透明度,值为0-1,默认值为1,表示不透明。更改alpha值会影响drawcall。Sprite anchorX : NumberX轴锚点,值为0-1Component anchorY : NumberY轴锚点,值为0-1Component autoSize : Boolean = ...
来源: laya_api 发布时间: 20170929
... joint : *[read-only] [只读]原生关节对象JointBase lowerAngle : Number启用约束后,刚体旋转范围的下限弧度RevoluteJoint maxMotorTorque : Number启用马达后,可以施加的最大扭距,如果最大扭矩太小,会导致不旋转RevoluteJoint motorSpeed : Numbe...
来源: Laya2.0_api 发布时间: 20190513
...用于创建颜色实例。 Public Properties PropertyDefined By a : Numberalpha分量Color b : Numberblue分量Color g : Numbergreen分量Color r : Numberred分量ColorPublic Methods MethodDefined By Color(r:Number = 1, g:Number = 1, b:Number = 1, a:Number = 1) 创建一个 Color ...
来源: Laya2.0_api 发布时间: 20190513
...Object 绘制单条曲线 Public Properties PropertyDefined By fromX : Number X轴开始位置。 DrawLineCmd fromY : Number Y轴开始位置。 DrawLineCmd lineColor : String 颜色。 DrawLineCmd lineWidth : Number (可选)线条宽度。 DrawLineCmd toX : Number X轴结束位...
来源: Laya2.0_api 发布时间: 20190513
... color font stroke strokeColor text Methods recover create Properties x x: number = 0 Defined in laya/display/cmd/FillTextCmd.ts:19 开始绘制文本的 x 坐标位置(相对于画布)。 y y: number = 0 Defined in laya/display/cmd/FillTextCmd.ts:23 开始绘制文本的 y 坐标位置(相对...
来源: Laya3.0_api 发布时间: 20231115