CollisionGrid2d.FromPolys Method

Skapar en CollisionGrid2d utifrån givna polysar. Notera att polysarna tolkas som "solider" om de är CCW, och hål om de är CW! Även öppna polys stöds. Men indata får ju vara lite snygg annars går det inte!
Public Shared Function FromPolys( _ 
ByVal polys As IEnumerable(Of Poly2d) _ 
) As CollisionGrid2d
This language is not supported or no code example is available.
public static CollisionGrid2d FromPolys( 
IEnumerable<Poly2d> polys 
)
This language is not supported or no code example is available.
public:  
static CollisionGrid2d^ FromPolys( 
IEnumerable<Poly2d^>^ polys 
)
This language is not supported or no code example is available.
JScript does not support generic types and methods.
This language is not supported or no code example is available.

Parameters

polys
IEnumerable<Poly2d>

Return Value

CollisionGrid2d

.NET Framework

Supported in: 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8

In this article

Definition