Project

General

Profile

SO3Engine

represents a material More...

#include <OgreNewt_MaterialID.h>

Public Member Functions

 MaterialID (const World *world)
 constructor
 
 ~MaterialID ()
 destructor
 
int getID () const
 get Newton-assigned material ID.
 

Protected Member Functions

 MaterialID (const World *world, int ID)
 

Friends

class OgreNewt::World
 

Detailed Description

represents a material

Definition at line 24 of file OgreNewt_MaterialID.h.

Constructor & Destructor Documentation

◆ MaterialID() [1/2]

OgreNewt::MaterialID::MaterialID ( const World world)

constructor

Parameters
worldpointer to the OgreNewt;;World

Definition at line 9 of file OgreNewt_MaterialID.cpp.

◆ ~MaterialID()

OgreNewt::MaterialID::~MaterialID ( )

destructor

Definition at line 22 of file OgreNewt_MaterialID.cpp.

◆ MaterialID() [2/2]

OgreNewt::MaterialID::MaterialID ( const World world,
int  ID 
)
protected

Overloaded constructor, sets the internal ID manually. should not be used by the end-user.

Definition at line 15 of file OgreNewt_MaterialID.cpp.

Member Function Documentation

◆ getID()

int OgreNewt::MaterialID::getID ( ) const
inline

get Newton-assigned material ID.

Definition at line 38 of file OgreNewt_MaterialID.h.

Friends And Related Symbol Documentation

◆ OgreNewt::World

friend class OgreNewt::World
friend

Definition at line 42 of file OgreNewt_MaterialID.h.


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