◆ ModelRenderAttributes() [1/2]
BrawlLib.Modeling.ModelRenderAttributes.ModelRenderAttributes |
( |
| ) |
|
|
inline |
◆ ModelRenderAttributes() [2/2]
BrawlLib.Modeling.ModelRenderAttributes.ModelRenderAttributes |
( |
SerializationInfo |
info, |
|
|
StreamingContext |
ctxt |
|
) |
| |
|
inline |
59 {
60 FieldInfo[] fields = GetType().GetFields();
61 foreach (FieldInfo f in fields)
62 {
63 Type t = f.FieldType;
64 f.SetValue(this, info.GetValue(f.Name, t));
65 }
66 }
◆ GetObjectData()
void BrawlLib.Modeling.ModelRenderAttributes.GetObjectData |
( |
SerializationInfo |
info, |
|
|
StreamingContext |
context |
|
) |
| |
|
inline |
69 {
70 FieldInfo[] fields = GetType().GetFields();
71 foreach (FieldInfo f in fields)
72 {
73 Type t = f.FieldType;
74 info.AddValue(f.Name, f.GetValue(this));
75 }
76 }
◆ _applyBillboardBones
bool BrawlLib.Modeling.ModelRenderAttributes._applyBillboardBones = true |
◆ _dontRenderOffscreen
bool BrawlLib.Modeling.ModelRenderAttributes._dontRenderOffscreen = false |
◆ _renderBoneBoxes
bool BrawlLib.Modeling.ModelRenderAttributes._renderBoneBoxes = false |
◆ _renderBones
bool BrawlLib.Modeling.ModelRenderAttributes._renderBones = false |
◆ _renderBonesAsPoints
bool BrawlLib.Modeling.ModelRenderAttributes._renderBonesAsPoints = false |
◆ _renderMetal
bool BrawlLib.Modeling.ModelRenderAttributes._renderMetal = false |
◆ _renderModelBox
bool BrawlLib.Modeling.ModelRenderAttributes._renderModelBox = false |
◆ _renderNormals
bool BrawlLib.Modeling.ModelRenderAttributes._renderNormals = false |
◆ _renderObjectBoxes
bool BrawlLib.Modeling.ModelRenderAttributes._renderObjectBoxes = false |
◆ _renderPolygons
bool BrawlLib.Modeling.ModelRenderAttributes._renderPolygons = true |
◆ _renderShaders
bool BrawlLib.Modeling.ModelRenderAttributes._renderShaders = true |
◆ _renderVertices
bool BrawlLib.Modeling.ModelRenderAttributes._renderVertices = false |
◆ _renderWireframe
bool BrawlLib.Modeling.ModelRenderAttributes._renderWireframe = false |
◆ _scaleBones
bool BrawlLib.Modeling.ModelRenderAttributes._scaleBones = false |
◆ _useBindStateBoxes
bool BrawlLib.Modeling.ModelRenderAttributes._useBindStateBoxes = true |
The documentation for this class was generated from the following file:
- BrawlLib/Modeling/IModel.cs