C#Code
C#Code
Public Member Functions | Static Public Attributes | Protected Attributes
Libraries.Shaders.WorldProperty Class Reference
Inheritance diagram for Libraries.Shaders.WorldProperty:
Libraries.Shaders.BaseShaderProperty Libraries.Shaders.BaseShaderProperty

List of all members.

Public Member Functions

 WorldProperty ()
 WorldProperty (Libraries._3D.BaseObj3D obj)
override void Update (int timePassed, Effect effect)
void SetWorldObj (Libraries._3D.BaseObj3D obj)
 WorldProperty ()
 WorldProperty (Libraries._3D.BaseObj3D obj)
override void Update (int timePassed, Effect effect)
void SetWorldObj (Libraries._3D.BaseObj3D obj)

Static Public Attributes

static readonly
Libraries.StringType 
s_propertyName = new Libraries.StringType("world_prop")

Protected Attributes

Libraries._3D.BaseObj3D m_obj
 World object to track.

Detailed Description

Handles setting the world matrix for a shader from a BaseObj3D.


Constructor & Destructor Documentation

Libraries.Shaders.WorldProperty.WorldProperty ( )

Default constructor.

Libraries.Shaders.WorldProperty.WorldProperty ( Libraries._3D.BaseObj3D  obj)

Constructor.

obj - Object to track and get the world transformation from.
Libraries.Shaders.WorldProperty.WorldProperty ( )

Default constructor.

Libraries.Shaders.WorldProperty.WorldProperty ( Libraries._3D.BaseObj3D  obj)

Constructor.

obj - Object to track and get the world transformation from.

Member Function Documentation

void Libraries.Shaders.WorldProperty.SetWorldObj ( Libraries._3D.BaseObj3D  obj)

Set the object that the property is for.

obj - Object the property is for.
void Libraries.Shaders.WorldProperty.SetWorldObj ( Libraries._3D.BaseObj3D  obj)

Set the object that the property is for.

obj - Object the property is for.
override void Libraries.Shaders.WorldProperty.Update ( int  timePassed,
Effect  effect 
) [virtual]

Update the effect.

timePassed - How long has passed since the previous update.
effect - Effect to update.

Reimplemented from Libraries.Shaders.BaseShaderProperty.

override void Libraries.Shaders.WorldProperty.Update ( int  timePassed,
Effect  effect 
) [virtual]

Update the effect.

timePassed - How long has passed since the previous update.
effect - Effect to update.

Reimplemented from Libraries.Shaders.BaseShaderProperty.


Member Data Documentation

Libraries _3D BaseObj3D Libraries::Shaders.WorldProperty::m_obj [protected]

World object to track.

static readonly Libraries StringType Libraries::Shaders.WorldProperty::s_propertyName = new Libraries.StringType("world_prop") [static]

The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Enumerations Properties