Toggle navigation
Hot Examples
FR
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
C#
PHP
C#
Java
Go
C++
Python
JS
TS
Rechercher
Accueil
SFML
Graphics
ConvexShape
SetPointCount
SFML.Graphics.ConvexShape.SetPointCount C# (CSharp) Méthode
ConvexShape Class Documentation
Afficher le fichier
Open project: SFML/SFML.Net
SetPointCount()
public
méthode
Set the number of points of the polygon. The count must be greater than 2 to define a valid shape.
public
SetPointCount
(
uint
count
) :
void
count
uint
New number of points of the polygon
Résultat
void
public void SetPointCount(uint count) { Array.Resize(ref myPoints, (int)count); Update(); }
ConvexShape
ConvexShape
GetPoint
GetPointCount
SetPoint
SetPointCount