Survivalcraft API 1.8.2.3 v1.8.2.3
Survivalcraft 2.4
载入中...
搜索中...
未找到
Engine.Ray2
类 Engine.Ray2 继承关系图:
Engine.Ray2 的协作图:

Public 成员函数

 Ray2 (Vector2 position, Vector2 direction)
override bool Equals (object obj)
override int GetHashCode ()
override string ToString ()
bool Equals (Ray2 other)
float? Intersection (BoundingRectangle rectangle)
float? Intersection (BoundingCircle circle)
Vector2 Sample (float distance)

静态 Public 成员函数

static Ray2 Transform (Ray2 r, Matrix m)
static void Transform (ref Ray2 r, ref Matrix m, out Ray2 result)
static bool operator== (Ray2 a, Ray2 b)
static bool operator!= (Ray2 a, Ray2 b)

Public 属性

Vector2 Position
Vector2 Direction

详细描述

在文件 Ray2.cs2 行定义.

构造及析构函数说明

◆ Ray2()

Engine.Ray2.Ray2 ( Vector2 position,
Vector2 direction )

在文件 Ray2.cs7 行定义.

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

成员函数说明

◆ Equals() [1/2]

override bool Engine.Ray2.Equals ( object obj)

在文件 Ray2.cs12 行定义.

函数调用图:

◆ Equals() [2/2]

bool Engine.Ray2.Equals ( Ray2 other)

在文件 Ray2.cs18 行定义.

函数调用图:

◆ GetHashCode()

override int Engine.Ray2.GetHashCode ( )

在文件 Ray2.cs14 行定义.

◆ Intersection() [1/2]

float? Engine.Ray2.Intersection ( BoundingCircle circle)

在文件 Ray2.cs65 行定义.

函数调用图:

◆ Intersection() [2/2]

float? Engine.Ray2.Intersection ( BoundingRectangle rectangle)

在文件 Ray2.cs20 行定义.

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

◆ operator!=()

bool Engine.Ray2.operator!= ( Ray2 a,
Ray2 b )
static

在文件 Ray2.cs97 行定义.

函数调用图:

◆ operator==()

bool Engine.Ray2.operator== ( Ray2 a,
Ray2 b )
static

在文件 Ray2.cs95 行定义.

函数调用图:

◆ Sample()

Vector2 Engine.Ray2.Sample ( float distance)

在文件 Ray2.cs83 行定义.

◆ ToString()

override string Engine.Ray2.ToString ( )

在文件 Ray2.cs16 行定义.

◆ Transform() [1/2]

Ray2 Engine.Ray2.Transform ( Ray2 r,
Matrix m )
static

在文件 Ray2.cs85 行定义.

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

◆ Transform() [2/2]

void Engine.Ray2.Transform ( ref Ray2 r,
ref Matrix m,
out Ray2 result )
static

在文件 Ray2.cs90 行定义.

函数调用图:

类成员变量说明

◆ Direction

Vector2 Engine.Ray2.Direction

在文件 Ray2.cs5 行定义.

◆ Position

Vector2 Engine.Ray2.Position

在文件 Ray2.cs3 行定义.


该结构体的文档由以下文件生成:
  • E:/sc/doxygen/SurvivalcraftApi 1.8.2.3/Engine/Engine/Ray2.cs