FlowField(Single, Single, Single, Int32, Int32, Single, Int32, FlowFieldMode, Type) Konstruktor
Erzeugt ein FlowField für die angegebenen GameObject-Typen
Namensraum: KWEngine3.HelperAssembly: KWEngine3 (in KWEngine3.dll) Version: 3.0.3.3+b480f00c18079da56c0b23c9c86de89550e20316
public FlowField(
float positionX,
float positionY,
float positionZ,
int cellCountX,
int cellCountZ,
float cellRadius,
int fieldHeight,
FlowFieldMode mode,
params Type[] types
)
Parameter
- positionX Single
- X-Koordinate des Mittelpunkts
- positionY Single
- Y-Koordinate des Mittelpunkts
- positionZ Single
- Z-Koordinate des Mittelpunkts
- cellCountX Int32
- Anzahl Zellen in X-Richtung
- cellCountZ Int32
- Anzahl Zellen in Z-Richtung
- cellRadius Single
- Radius je Zelle
- fieldHeight Int32
- Höhe des Felds
- mode FlowFieldMode
- Genauigkeit bei der Messung der Hindernisse (Simple oder Box)
- types Type
- Liste der Klassen, die das FlowField scannen soll