iHazeFactoryState Struct Reference
This interface describes the API for the sprite factory mesh object. More...
#include <haze.h>
Inheritance diagram for iHazeFactoryState:

Public Methods | |
virtual void | SetMaterialWrapper (iMaterialWrapper *material)=0 |
Set material of sprite. | |
virtual iMaterialWrapper * | GetMaterialWrapper () const=0 |
Get material of sprite. | |
virtual void | SetMixMode (uint mode)=0 |
Set mix mode. | |
virtual uint | GetMixMode () const=0 |
Get mix mode. | |
virtual void | SetOrigin (const csVector3 &pos)=0 |
Set the point of origin, the center of the texture. | |
virtual const csVector3 & | GetOrigin () const=0 |
Get the point of origin. | |
virtual void | SetDirectional (const csVector3 &pos)=0 |
Set the topmiddle point of the texture. | |
virtual const csVector3 & | GetDirectional () const=0 |
Get the topmiddle point of the texture. | |
virtual int | GetLayerCount () const=0 |
Get the number of layers of hulls. | |
virtual void | AddLayer (iHazeHull *hull, float scale)=0 |
add a new layer - increasing the layer count | |
virtual void | SetLayerHull (int layer, iHazeHull *hull)=0 |
Set the convex hull to be used as layer. Increfs the hull. | |
virtual iHazeHull * | GetLayerHull (int layer) const=0 |
Get the convex hull used for layer. | |
virtual void | SetLayerScale (int layer, float scale)=0 |
Set the texture percentage used by a layer (total of 1.0 is max). | |
virtual float | GetLayerScale (int layer) const=0 |
Get the layer scale. |
Detailed Description
This interface describes the API for the sprite factory mesh object.When multiple hulls are used, they must have the same number of vertices, vertices are taken to be numbered in the same ordering.
The factory also implements the iHazeHullCreation interface
Definition at line 122 of file haze.h.
Member Function Documentation
|
add a new layer - increasing the layer count
|
|
Get the topmiddle point of the texture.
|
|
Get the number of layers of hulls.
|
|
Get the convex hull used for layer.
|
|
Get the layer scale.
|
|
Get material of sprite.
|
|
Get mix mode.
|
|
Get the point of origin.
|
|
Set the topmiddle point of the texture.
|
|
Set the convex hull to be used as layer. Increfs the hull.
|
|
Set the texture percentage used by a layer (total of 1.0 is max).
|
|
Set material of sprite.
|
|
Set mix mode.
|
|
Set the point of origin, the center of the texture.
|
The documentation for this struct was generated from the following file:
- imesh/haze.h
Generated for Crystal Space by doxygen 1.2.18