Survivalcraft API 1.8.2.3 v1.8.2.3
Survivalcraft 2.4
载入中...
搜索中...
未找到
Game.PathRenderer
Game.PathRenderer 的协作图:

struct  Point

静态 Public 成员函数

static int TrimPathStart (DynamicArray< Vector2 > positions, BoundingRectangle rectangle)
static int TrimPathEnd (DynamicArray< Vector2 > positions, BoundingRectangle rectangle)
static int TrimPathStart (DynamicArray< Vector2 > positions, BoundingCircle circle)
static int TrimPathEnd (DynamicArray< Vector2 > positions, BoundingCircle circle)
static void GeneratePathNormals (DynamicArray< Vector2 > positions, DynamicArray< bool > visibility, bool loop, DynamicArray< Vector2 > normals)
static void QueuePath (FlatBatch2D batch, DynamicArray< Point > points, DynamicArray< bool > visibility, bool loop, bool flatShading, float depth=0f)
static void QueuePath (FlatBatch2D batch, DynamicArray< Point > points, DynamicArray< Vector2 > normals, DynamicArray< bool > visibility, bool loop, bool flatShading, float depth=0f)
static void QueuePath (FlatBatch2D batch, DynamicArray< Vector2 > positions, DynamicArray< bool > visibility, bool loop, bool flatShading, float innerRadius, float outerRadius, Color innerColor, Color outerColor, float miterLimit, float depth=0f)
static void QueuePath (FlatBatch2D batch, DynamicArray< Vector2 > positions, DynamicArray< bool > visibility, bool loop, bool flatShading, float innerRadiusL, float innerRadiusR, float outerRadiusL, float outerRadiusR, Color innerColorL, Color innerColorR, Color outerColorL, Color outerColorR, float miterLimit, float depth=0f)
static void QueuePath (TexturedBatch2D batch, DynamicArray< Point > points, DynamicArray< bool > visibility, bool loop, bool flatShading, float lengthOffset, float depth=0f)
static void QueuePath (TexturedBatch2D batch, DynamicArray< Point > points, DynamicArray< Vector2 > normals, DynamicArray< bool > visibility, bool loop, bool flatShading, float lengthOffset, float depth=0f)
static void QueuePath (TexturedBatch2D batch, DynamicArray< Vector2 > positions, DynamicArray< bool > visibility, bool loop, bool flatShading, float innerRadius, float outerRadius, Color innerColor, Color outerColor, float lengthScale, float lengthOffset, float miterLimit, float depth=0f)
static void QueuePath (TexturedBatch2D batch, DynamicArray< Vector2 > positions, DynamicArray< bool > visibility, bool loop, bool flatShading, float innerRadiusL, float innerRadiusR, float outerRadiusL, float outerRadiusR, Color innerColorL, Color innerColorR, Color outerColorL, Color outerColorR, float lengthScale, float lengthOffset, float miterLimit, float depth=0f)

静态 Private 成员函数

static void QueuePathInternal (FlatBatch2D batch, DynamicArray< Point > points, DynamicArray< Vector2 > normals, DynamicArray< bool > visibility, bool loop, bool flatShading, float depth)
static void QueuePathInternal (TexturedBatch2D batch, DynamicArray< Point > points, DynamicArray< Vector2 > normals, DynamicArray< bool > visibility, bool loop, bool flatShading, float lengthOffset, float depth)
static Vector2 Normal1 (Vector2 d)
static Vector2 Normal2 (Vector2 d1, Vector2 d2)

静态 Private 属性

static DynamicArray< PointTmpPoints = new()
static DynamicArray< Vector2TmpPositions = new()
static DynamicArray< Vector2TmpNormals = new()

详细描述

在文件 PathRenderer.cs5 行定义.

成员函数说明

◆ GeneratePathNormals()

void Game.PathRenderer.GeneratePathNormals ( DynamicArray< Vector2 > positions,
DynamicArray< bool > visibility,
bool loop,
DynamicArray< Vector2 > normals )
static

在文件 PathRenderer.cs131 行定义.

函数调用图:
这是这个函数的调用关系图:

◆ Normal1()

Vector2 Game.PathRenderer.Normal1 ( Vector2 d)
staticprivate

在文件 PathRenderer.cs650 行定义.

这是这个函数的调用关系图:

◆ Normal2()

Vector2 Game.PathRenderer.Normal2 ( Vector2 d1,
Vector2 d2 )
staticprivate

在文件 PathRenderer.cs652 行定义.

函数调用图:
这是这个函数的调用关系图:

◆ QueuePath() [1/8]

void Game.PathRenderer.QueuePath ( FlatBatch2D batch,
DynamicArray< Point > points,
DynamicArray< bool > visibility,
bool loop,
bool flatShading,
float depth = 0f )
static

在文件 PathRenderer.cs177 行定义.

函数调用图:
这是这个函数的调用关系图:

◆ QueuePath() [2/8]

void Game.PathRenderer.QueuePath ( FlatBatch2D batch,
DynamicArray< Point > points,
DynamicArray< Vector2 > normals,
DynamicArray< bool > visibility,
bool loop,
bool flatShading,
float depth = 0f )
static

在文件 PathRenderer.cs200 行定义.

函数调用图:

◆ QueuePath() [3/8]

void Game.PathRenderer.QueuePath ( FlatBatch2D batch,
DynamicArray< Vector2 > positions,
DynamicArray< bool > visibility,
bool loop,
bool flatShading,
float innerRadius,
float outerRadius,
Color innerColor,
Color outerColor,
float miterLimit,
float depth = 0f )
static

在文件 PathRenderer.cs218 行定义.

函数调用图:

◆ QueuePath() [4/8]

void Game.PathRenderer.QueuePath ( FlatBatch2D batch,
DynamicArray< Vector2 > positions,
DynamicArray< bool > visibility,
bool loop,
bool flatShading,
float innerRadiusL,
float innerRadiusR,
float outerRadiusL,
float outerRadiusR,
Color innerColorL,
Color innerColorR,
Color outerColorL,
Color outerColorR,
float miterLimit,
float depth = 0f )
static

在文件 PathRenderer.cs248 行定义.

函数调用图:

◆ QueuePath() [5/8]

void Game.PathRenderer.QueuePath ( TexturedBatch2D batch,
DynamicArray< Point > points,
DynamicArray< bool > visibility,
bool loop,
bool flatShading,
float lengthOffset,
float depth = 0f )
static

在文件 PathRenderer.cs292 行定义.

函数调用图:

◆ QueuePath() [6/8]

void Game.PathRenderer.QueuePath ( TexturedBatch2D batch,
DynamicArray< Point > points,
DynamicArray< Vector2 > normals,
DynamicArray< bool > visibility,
bool loop,
bool flatShading,
float lengthOffset,
float depth = 0f )
static

在文件 PathRenderer.cs317 行定义.

函数调用图:

◆ QueuePath() [7/8]

void Game.PathRenderer.QueuePath ( TexturedBatch2D batch,
DynamicArray< Vector2 > positions,
DynamicArray< bool > visibility,
bool loop,
bool flatShading,
float innerRadius,
float outerRadius,
Color innerColor,
Color outerColor,
float lengthScale,
float lengthOffset,
float miterLimit,
float depth = 0f )
static

在文件 PathRenderer.cs337 行定义.

函数调用图:

◆ QueuePath() [8/8]

void Game.PathRenderer.QueuePath ( TexturedBatch2D batch,
DynamicArray< Vector2 > positions,
DynamicArray< bool > visibility,
bool loop,
bool flatShading,
float innerRadiusL,
float innerRadiusR,
float outerRadiusL,
float outerRadiusR,
Color innerColorL,
Color innerColorR,
Color outerColorL,
Color outerColorR,
float lengthScale,
float lengthOffset,
float miterLimit,
float depth = 0f )
static

在文件 PathRenderer.cs371 行定义.

函数调用图:

◆ QueuePathInternal() [1/2]

void Game.PathRenderer.QueuePathInternal ( FlatBatch2D batch,
DynamicArray< Point > points,
DynamicArray< Vector2 > normals,
DynamicArray< bool > visibility,
bool loop,
bool flatShading,
float depth )
staticprivate

在文件 PathRenderer.cs420 行定义.

函数调用图:
这是这个函数的调用关系图:

◆ QueuePathInternal() [2/2]

void Game.PathRenderer.QueuePathInternal ( TexturedBatch2D batch,
DynamicArray< Point > points,
DynamicArray< Vector2 > normals,
DynamicArray< bool > visibility,
bool loop,
bool flatShading,
float lengthOffset,
float depth )
staticprivate

在文件 PathRenderer.cs519 行定义.

函数调用图:

◆ TrimPathEnd() [1/2]

int Game.PathRenderer.TrimPathEnd ( DynamicArray< Vector2 > positions,
BoundingCircle circle )
static

在文件 PathRenderer.cs124 行定义.

函数调用图:

◆ TrimPathEnd() [2/2]

int Game.PathRenderer.TrimPathEnd ( DynamicArray< Vector2 > positions,
BoundingRectangle rectangle )
static

在文件 PathRenderer.cs96 行定义.

函数调用图:

◆ TrimPathStart() [1/2]

int Game.PathRenderer.TrimPathStart ( DynamicArray< Vector2 > positions,
BoundingCircle circle )
static

在文件 PathRenderer.cs103 行定义.

函数调用图:

◆ TrimPathStart() [2/2]

int Game.PathRenderer.TrimPathStart ( DynamicArray< Vector2 > positions,
BoundingRectangle rectangle )
static

在文件 PathRenderer.cs75 行定义.

函数调用图:
这是这个函数的调用关系图:

类成员变量说明

◆ TmpNormals

DynamicArray<Vector2> Game.PathRenderer.TmpNormals = new()
staticprivate

在文件 PathRenderer.cs73 行定义.

◆ TmpPoints

DynamicArray<Point> Game.PathRenderer.TmpPoints = new()
staticprivate

在文件 PathRenderer.cs69 行定义.

◆ TmpPositions

DynamicArray<Vector2> Game.PathRenderer.TmpPositions = new()
staticprivate

在文件 PathRenderer.cs71 行定义.


该类的文档由以下文件生成:
  • E:/sc/doxygen/SurvivalcraftApi 1.8.2.3/Survivalcraft.Windows/Game/PathRenderer.cs