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

struct  Point

静态 Public 成员函数

static void QueueShape (FlatBatch2D batch, IEnumerable< Point > points, float pixelsPerUnit, float antialiasSize, float bevelSize, bool flatShading, Color centerColor, Color bevelColor, float directional, float ambient)
static void QueueShapeShadow (FlatBatch2D batch, IEnumerable< Point > points, float pixelsPerUnit, float shadowSize, Color shadowColor)
static void QueueShape (TexturedBatch2D batch, IEnumerable< Point > points, Vector2 textureScale, Vector2 textureOffset, float pixelsPerUnit, float antialiasSize, float bevelSize, bool flatShading, Color centerColor, Color bevelColor, float directional, float ambient)
static void QueueQuad (FlatBatch2D batch, Vector2 p1, Vector2 p2, float pixelsPerUnit, float antialiasSize, float bevelSize, float roundingRadius, int roundingCount, bool flatShading, Color centerColor, Color bevelColor, float directional, float ambient)
static void QueueQuad (TexturedBatch2D batch, Vector2 p1, Vector2 p2, Vector2 textureScale, Vector2 textureOffset, float pixelsPerUnit, float antialiasSize, float bevelSize, float roundingRadius, int roundingCount, bool flatShading, Color centerColor, Color bevelColor, float directional, float ambient)

静态 Private 成员函数

static void RemoveDuplicates (DynamicArray< Vector2 > positions)
static void Triangulate (DynamicArray< Vector2 > source, DynamicArray< int > destination)
static void LightPoints (DynamicArray< PathRenderer.Point > points, bool loop, bool flatShading, Vector2 directionToLight, float directional, float ambient)
static void GeneratePathPoints (DynamicArray< Vector2 > positions, float innerRadiusL, float innerRadiusR, float outerRadiusL, float outerRadiusR, Color innerColorL, Color innerColorR, Color outerColorL, Color outerColorR, float lengthScale, float miterLimit, DynamicArray< PathRenderer.Point > result)
static void RoundCorners (DynamicArray< Point > points, bool loop, float pixelsPerUnit, float bevelSize, DynamicArray< Vector2 > result)
static void RoundCorner (Vector2 p0, Vector2 p1, Vector2 p2, float radius, int count, float pixelsPerUnit, float bevelSize, DynamicArray< Vector2 > result)

静态 Private 属性

static FlatBatch2D TmpBatch = new()
static DynamicArray< PointTmpQuadPoints = new()
static DynamicArray< PointTmpPoints = new()
static DynamicArray< Vector2TmpPositions = new()
static DynamicArray< Vector2TmpPositions2 = new()
static DynamicArray< Vector2TmpNormals = new()
static DynamicArray< int > TmpIndices = new()
static DynamicArray< int > TmpIndicesTriangulation = new()
static DynamicArray< PathRenderer.PointTmpPathPoints = new()

详细描述

在文件 BevelledShapeRenderer.cs5 行定义.

成员函数说明

◆ GeneratePathPoints()

void Game.BevelledShapeRenderer.GeneratePathPoints ( DynamicArray< Vector2 > positions,
float innerRadiusL,
float innerRadiusR,
float outerRadiusL,
float outerRadiusR,
Color innerColorL,
Color innerColorR,
Color outerColorL,
Color outerColorR,
float lengthScale,
float miterLimit,
DynamicArray< PathRenderer.Point > result )
staticprivate

在文件 BevelledShapeRenderer.cs396 行定义.

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

◆ LightPoints()

void Game.BevelledShapeRenderer.LightPoints ( DynamicArray< PathRenderer.Point > points,
bool loop,
bool flatShading,
Vector2 directionToLight,
float directional,
float ambient )
staticprivate

在文件 BevelledShapeRenderer.cs355 行定义.

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

◆ QueueQuad() [1/2]

void Game.BevelledShapeRenderer.QueueQuad ( FlatBatch2D batch,
Vector2 p1,
Vector2 p2,
float pixelsPerUnit,
float antialiasSize,
float bevelSize,
float roundingRadius,
int roundingCount,
bool flatShading,
Color centerColor,
Color bevelColor,
float directional,
float ambient )
static

在文件 BevelledShapeRenderer.cs238 行定义.

函数调用图:

◆ QueueQuad() [2/2]

void Game.BevelledShapeRenderer.QueueQuad ( TexturedBatch2D batch,
Vector2 p1,
Vector2 p2,
Vector2 textureScale,
Vector2 textureOffset,
float pixelsPerUnit,
float antialiasSize,
float bevelSize,
float roundingRadius,
int roundingCount,
bool flatShading,
Color centerColor,
Color bevelColor,
float directional,
float ambient )
static

在文件 BevelledShapeRenderer.cs270 行定义.

函数调用图:

◆ QueueShape() [1/2]

void Game.BevelledShapeRenderer.QueueShape ( FlatBatch2D batch,
IEnumerable< Point > points,
float pixelsPerUnit,
float antialiasSize,
float bevelSize,
bool flatShading,
Color centerColor,
Color bevelColor,
float directional,
float ambient )
static

在文件 BevelledShapeRenderer.cs40 行定义.

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

◆ QueueShape() [2/2]

void Game.BevelledShapeRenderer.QueueShape ( TexturedBatch2D batch,
IEnumerable< Point > points,
Vector2 textureScale,
Vector2 textureOffset,
float pixelsPerUnit,
float antialiasSize,
float bevelSize,
bool flatShading,
Color centerColor,
Color bevelColor,
float directional,
float ambient )
static

在文件 BevelledShapeRenderer.cs199 行定义.

函数调用图:

◆ QueueShapeShadow()

void Game.BevelledShapeRenderer.QueueShapeShadow ( FlatBatch2D batch,
IEnumerable< Point > points,
float pixelsPerUnit,
float shadowSize,
Color shadowColor )
static

在文件 BevelledShapeRenderer.cs164 行定义.

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

◆ RemoveDuplicates()

void Game.BevelledShapeRenderer.RemoveDuplicates ( DynamicArray< Vector2 > positions)
staticprivate

在文件 BevelledShapeRenderer.cs306 行定义.

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

◆ RoundCorner()

void Game.BevelledShapeRenderer.RoundCorner ( Vector2 p0,
Vector2 p1,
Vector2 p2,
float radius,
int count,
float pixelsPerUnit,
float bevelSize,
DynamicArray< Vector2 > result )
staticprivate

在文件 BevelledShapeRenderer.cs446 行定义.

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

◆ RoundCorners()

void Game.BevelledShapeRenderer.RoundCorners ( DynamicArray< Point > points,
bool loop,
float pixelsPerUnit,
float bevelSize,
DynamicArray< Vector2 > result )
staticprivate

在文件 BevelledShapeRenderer.cs427 行定义.

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

◆ Triangulate()

void Game.BevelledShapeRenderer.Triangulate ( DynamicArray< Vector2 > source,
DynamicArray< int > destination )
staticprivate

在文件 BevelledShapeRenderer.cs319 行定义.

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

类成员变量说明

◆ TmpBatch

FlatBatch2D Game.BevelledShapeRenderer.TmpBatch = new()
staticprivate

在文件 BevelledShapeRenderer.cs22 行定义.

◆ TmpIndices

DynamicArray<int> Game.BevelledShapeRenderer.TmpIndices = new()
staticprivate

在文件 BevelledShapeRenderer.cs34 行定义.

◆ TmpIndicesTriangulation

DynamicArray<int> Game.BevelledShapeRenderer.TmpIndicesTriangulation = new()
staticprivate

在文件 BevelledShapeRenderer.cs36 行定义.

◆ TmpNormals

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

在文件 BevelledShapeRenderer.cs32 行定义.

◆ TmpPathPoints

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

在文件 BevelledShapeRenderer.cs38 行定义.

◆ TmpPoints

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

在文件 BevelledShapeRenderer.cs26 行定义.

◆ TmpPositions

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

在文件 BevelledShapeRenderer.cs28 行定义.

◆ TmpPositions2

DynamicArray<Vector2> Game.BevelledShapeRenderer.TmpPositions2 = new()
staticprivate

在文件 BevelledShapeRenderer.cs30 行定义.

◆ TmpQuadPoints

DynamicArray<Point> Game.BevelledShapeRenderer.TmpQuadPoints = new()
staticprivate

在文件 BevelledShapeRenderer.cs24 行定义.


该类的文档由以下文件生成: