图形计算合集
Constructor
Variables
Methods
test (shape:Shape, ?type:String, ?into:Null<Results_differ_data_ShapeCollision>):Results_differ_data_ShapeCollision
测试图形碰撞
Parameters:
shape | |
---|---|
into | 用于接收碰撞结果 |
type | 与什么类型进行碰撞 |
into | 碰撞图形结果预设对象,使用该角色,可以减少垃圾回收 |
Returns:
Bool
testRay (shape:Ray, ?type:String, ?into:Null<Results_differ_data_RayCollision>):Results_differ_data_RayCollision
测试射线碰撞
Parameters:
shape | |
---|---|
into | 用于接收碰撞结果 |
type | 与什么类型进行碰撞 |
into | 碰撞图形结果预设对象,使用该角色,可以减少垃圾回收 |
Returns:
Bool