Survivalcraft API 1.8.2.3
v1.8.2.3
Survivalcraft 2.4
载入中...
搜索中...
未找到
ModelMeshPart.cs
浏览该文件的文档.
1
namespace
Engine.Graphics
{
2
public
class
ModelMeshPart
: IDisposable {
3
public
BoundingBox
m_boundingBox
;
4
public
object
m_tag
;
5
6
public
string
TexturePath
;
7
8
public
VertexBuffer
VertexBuffer
{
get
;
set
; }
9
10
public
IndexBuffer
IndexBuffer
{
get
;
set
; }
11
12
public
int
StartIndex
{
get
;
set
; }
13
14
public
int
IndicesCount
{
get
;
set
; }
15
16
public
BoundingBox
BoundingBox
{
17
get
=>
m_boundingBox
;
18
set
=>
m_boundingBox
= value;
19
}
20
21
public
object
Tag
{
22
get
=>
m_tag
;
23
set
=>
m_tag
= value;
24
}
25
26
public
void
Dispose
() {
27
if
(
VertexBuffer
!=
null
) {
28
VertexBuffer
.Dispose();
29
VertexBuffer
=
null
;
30
}
31
if
(
IndexBuffer
!=
null
) {
32
IndexBuffer
.Dispose();
33
IndexBuffer
=
null
;
34
}
35
}
36
}
37
}
Engine.Graphics.ModelMeshPart
定义
ModelMeshPart.cs:2
Engine.Graphics.ModelMeshPart.Tag
object Tag
定义
ModelMeshPart.cs:21
Engine.Graphics.ModelMeshPart.TexturePath
string TexturePath
定义
ModelMeshPart.cs:6
Engine.Graphics.ModelMeshPart.IndicesCount
int IndicesCount
定义
ModelMeshPart.cs:14
Engine.Graphics.ModelMeshPart.IndexBuffer
IndexBuffer IndexBuffer
定义
ModelMeshPart.cs:10
Engine.Graphics.ModelMeshPart.StartIndex
int StartIndex
定义
ModelMeshPart.cs:12
Engine.Graphics.ModelMeshPart.Dispose
void Dispose()
定义
ModelMeshPart.cs:26
Engine.Graphics.ModelMeshPart.VertexBuffer
VertexBuffer VertexBuffer
定义
ModelMeshPart.cs:8
Engine.Graphics.ModelMeshPart.m_boundingBox
BoundingBox m_boundingBox
定义
ModelMeshPart.cs:3
Engine.Graphics.ModelMeshPart.m_tag
object m_tag
定义
ModelMeshPart.cs:4
Engine.Graphics.ModelMeshPart.BoundingBox
BoundingBox BoundingBox
定义
ModelMeshPart.cs:16
Engine.Graphics
定义
BaseBatch.cs:1
SurvivalcraftApi 1.8.2.3
Engine
Engine.Graphics
ModelMeshPart.cs
制作者
1.16.1