BrawlCrate v0.41
Wii File Editor
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
BrawlLib.Modeling.ModelRenderAttributes Class Reference
Inheritance diagram for BrawlLib.Modeling.ModelRenderAttributes:

Public Member Functions

 ModelRenderAttributes ()
 
 ModelRenderAttributes (SerializationInfo info, StreamingContext ctxt)
 
void GetObjectData (SerializationInfo info, StreamingContext context)
 

Public Attributes

bool _renderPolygons = true
 
bool _renderWireframe = false
 
bool _renderBones = false
 
bool _renderMetal = false
 
bool _renderVertices = false
 
bool _renderNormals = false
 
bool _dontRenderOffscreen = false
 
bool _renderModelBox = false
 
bool _renderObjectBoxes = false
 
bool _renderBoneBoxes = false
 
bool _useBindStateBoxes = true
 
bool _applyBillboardBones = true
 
bool _renderShaders = true
 
bool _scaleBones = false
 
bool _renderBonesAsPoints = false
 

Constructor & Destructor Documentation

◆ ModelRenderAttributes() [1/2]

BrawlLib.Modeling.ModelRenderAttributes.ModelRenderAttributes ( )
inline
55 {
56 }

◆ 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 }

Member Function Documentation

◆ 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 }

Member Data Documentation

◆ _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: