Drag[en]gine Game Engine  1.0
deOcclusionMeshWeight Class Reference

Occlusion Mesh Weight. A single weight in a weight set. The bone index has to be 0 or larger, the weight in the range from 0 to 1. More...

#include <deOcclusionMeshWeight.h>

Public Member Functions

Constructors and Destructors
 deOcclusionMeshWeight ()
 
 ~deOcclusionMeshWeight ()
 
Weights Management
int GetBone () const
 
void SetBone (int bone)
 
float GetWeight () const
 
void SetWeight (float weight)
 

Detailed Description

Occlusion Mesh Weight. A single weight in a weight set. The bone index has to be 0 or larger, the weight in the range from 0 to 1.

Author
Pl├╝ss Roland
Version
1.0
Date
2012

Constructor & Destructor Documentation

◆ deOcclusionMeshWeight()

deOcclusionMeshWeight::deOcclusionMeshWeight ( )

Creates a new weight.

◆ ~deOcclusionMeshWeight()

deOcclusionMeshWeight::~deOcclusionMeshWeight ( )

Cleans up the weight.

Member Function Documentation

◆ GetBone()

int deOcclusionMeshWeight::GetBone ( ) const
inline

Retrieves the index of the bone.

References SetBone().

◆ GetWeight()

float deOcclusionMeshWeight::GetWeight ( ) const
inline

Retrieves the weight in the range from 0 to 1.

References SetWeight().

◆ SetBone()

void deOcclusionMeshWeight::SetBone ( int  bone)

Sets the index of the bone.

Referenced by GetBone().

◆ SetWeight()

void deOcclusionMeshWeight::SetWeight ( float  weight)

Sets the weight in the range from 0 to 1.

Referenced by GetWeight().


The documentation for this class was generated from the following file: