正在准备搜索索引...
搜索索引不可用
LayaAir3引擎API
LayaAir3引擎API
laya/physics/Render/PhysicsDrawLine2DCMD
PhysicsDrawLine2DCMD
类 PhysicsDrawLine2DCMD
层级 (
查看完整内容
)
Command2D
PhysicsDrawLine2DCMD
索引
构造函数
constructor
属性
_render
Elements
访问器
color
line
Width
physics
Geometry
方法
_set
Matrix
destroy
recover
run
create
构造函数
constructor
new
Physics
Draw
Line2DCMD
(
)
:
PhysicsDrawLine2DCMD
返回
PhysicsDrawLine2DCMD
属性
_render
Elements
_render
Elements
:
IRenderElement2D
[]
= []
访问器
color
set
color
(
value
)
:
void
参数
value
:
Color
返回
void
line
Width
set
lineWidth
(
value
)
:
void
参数
value
:
number
返回
void
physics
Geometry
get
physicsGeometry
(
)
:
PhysicsLineGemetry
返回
PhysicsLineGemetry
方法
_set
Matrix
_set
Matrix
(
value
)
:
void
参数
value
:
Matrix
返回
void
destroy
destroy
(
)
:
void
返回
void
recover
recover
(
)
:
void
返回
void
En
Recycles the rendering command.
Zh
回收渲染指令。
run
run
(
)
:
void
返回
void
En
Runs the command.
Zh
运行命令。
静态
create
create
(
pointArray
,
mat
,
color
?
,
lineWidth
?
)
:
PhysicsDrawLine2DCMD
参数
pointArray
:
number
[]
mat
:
Matrix
color
:
Color
= Color.WHITE
lineWidth
:
number
= 3
返回
PhysicsDrawLine2DCMD
切换版本:
显示设置
成员可见性
继承
外部
配色
自动
浅色
深色
目录
构造函数
constructor
属性
_render
Elements
访问器
color
line
Width
physics
Geometry
方法
_set
Matrix
destroy
recover
run
create
LayaAir3引擎API
加载中……
En
Recycles the rendering command.
Zh
回收渲染指令。