|
Survivalcraft API 1.8.2.3 v1.8.2.3
Survivalcraft 2.4
|


Public 成员函数 | |
| Viewport (int x, int y, int width, int height, float minDepth=0f, float maxDepth=1f) | |
| bool | Equals (Viewport other) |
| override bool | Equals (object obj) |
| override int | GetHashCode () |
| override string | ToString () |
| Vector3 | Project (Vector3 source, Matrix worldViewProjection) |
| Vector3 | Project (Vector3 source, Matrix projection, Matrix view, Matrix world) |
| Vector3 | Unproject (Vector3 source, Matrix worldViewProjection) |
| Vector3 | Unproject (Vector3 source, Matrix projection, Matrix view, Matrix world) |
静态 Public 成员函数 | |
| static bool | operator== (Viewport v1, Viewport v2) |
| static bool | operator!= (Viewport v1, Viewport v2) |
Public 属性 | |
| int | X |
| int | Y |
| int | Width |
| int | Height |
| float | MinDepth |
| float | MaxDepth |
属性 | |
| Rectangle | Rectangle [get] |
| float | AspectRatio [get] |
在文件 Viewport.cs 第 2 行定义.
| Engine.Graphics.Viewport.Viewport | ( | int | x, |
| int | y, | ||
| int | width, | ||
| int | height, | ||
| float | minDepth = 0f, | ||
| float | maxDepth = 1f ) |
| override bool Engine.Graphics.Viewport.Equals | ( | object | obj | ) |
| bool Engine.Graphics.Viewport.Equals | ( | Viewport | other | ) |
| override int Engine.Graphics.Viewport.GetHashCode | ( | ) |
在文件 Viewport.cs 第 37 行定义.
| Vector3 Engine.Graphics.Viewport.Project | ( | Vector3 | source, |
| Matrix | projection, | ||
| Matrix | view, | ||
| Matrix | world ) |
在文件 Viewport.cs 第 58 行定义.
| override string Engine.Graphics.Viewport.ToString | ( | ) |
在文件 Viewport.cs 第 44 行定义.
| Vector3 Engine.Graphics.Viewport.Unproject | ( | Vector3 | source, |
| Matrix | projection, | ||
| Matrix | view, | ||
| Matrix | world ) |
在文件 Viewport.cs 第 68 行定义.
| int Engine.Graphics.Viewport.Height |
在文件 Viewport.cs 第 9 行定义.
| float Engine.Graphics.Viewport.MaxDepth |
在文件 Viewport.cs 第 13 行定义.
| float Engine.Graphics.Viewport.MinDepth |
在文件 Viewport.cs 第 11 行定义.
| int Engine.Graphics.Viewport.Width |
在文件 Viewport.cs 第 7 行定义.
| int Engine.Graphics.Viewport.X |
在文件 Viewport.cs 第 3 行定义.
| int Engine.Graphics.Viewport.Y |
在文件 Viewport.cs 第 5 行定义.
|
get |
在文件 Viewport.cs 第 17 行定义.
|
get |
在文件 Viewport.cs 第 15 行定义.