Aiv Fast3D  1.0.1
Public Types | Public Member Functions | Public Attributes | Protected Member Functions | Properties | List of all members
Aiv.Fast3D.Mesh3 Class Reference
Inheritance diagram for Aiv.Fast3D.Mesh3:
Aiv.Fast3D.Cube Aiv.Fast3D.Plane Aiv.Fast3D.Pyramid Aiv.Fast3D.Sphere

Public Types

enum  RotationMode {
  RotationMode.XYZ, RotationMode.XZY, RotationMode.YXZ, RotationMode.YZX,
  RotationMode.ZXY, RotationMode.ZYX
}
 

Public Member Functions

void SetRotationMode (RotationMode mode)
 
void SetRotationMode (RotationFunc func)
 
delegate Matrix4 RotationFunc ()
 
 Mesh3 ()
 
void RebuildSkeleton ()
 
void RegenerateTangents ()
 
void UpdateNormals ()
 
void UpdateInfluencesAndWeights ()
 
void UpdateTangents ()
 
void SetParent (Mesh3 parent)
 
void RegenerateNormals ()
 
void DrawGouraud (Vector4 color, Light light, DepthTexture shadowMapTexture=null, float shadowBias=0.005f)
 
void DrawPhong (Vector4 color, Light light, Vector3 ambientColor, float shininess=0, DepthTexture shadowMapTexture=null, float shadowBias=0.005f, Texture normalMapTexture=null)
 
void DrawCel (Vector4 color, Light light, Vector3 ambientColor, float threshold=0.75f, DepthTexture shadowMapTexture=null, float shadowBias=0.005f, Texture normalMapTexture=null)
 
void DrawGouraud (Texture texture, Light light, DepthTexture shadowMapTexture=null, float shadowBias=0.005f)
 
void DrawPhong (Texture texture, Light light, Vector3 ambientColor, float shininess=0, DepthTexture shadowMapTexture=null, float shadowBias=0.005f, Texture normalMapTexture=null)
 
void DrawPhong (Texture texture, Light light, Vector3 ambientColor, Texture specularMap, DepthTexture shadowMapTexture=null, float shadowBias=0.005f, Texture normalMapTexture=null)
 
void DrawPhong (Material material)
 
void DrawCel (Texture texture, Light light, Vector3 ambientColor, float threshold=0.75f, DepthTexture shadowMapTexture=null, float shadowBias=0.005f, Texture normalMapTexture=null)
 
void DrawShadowMap (Light light)
 
void ResetUniforms ()
 
override string ToString ()
 

Public Attributes

float[] vn
 
float[] vtgt
 
int[] influences0
 
int[] influences1
 
float[] weights0
 
float[] weights1
 
string Name
 
Bone[] Skeleton
 

Protected Member Functions

override void ApplyMatrix ()
 
void SetDefaultLight (Light light)
 

Properties

Vector3 Rotation3 [get, set]
 
Vector3 Position3 [get, set]
 
Vector3 Scale3 [get, set]
 
Vector3 Pivot3 [get, set]
 
Quaternion Quaternion [get]
 
Vector3 EulerRotation3 [get, set]
 
Vector3 Forward [get]
 
Vector3 Right [get]
 
Vector3 Up [get]
 
Mesh3 Parent [get]
 
Matrix4 Matrix [get]
 

Member Enumeration Documentation

Enumerator
XYZ 
XZY 
YXZ 
YZX 
ZXY 
ZYX 

Constructor & Destructor Documentation

Aiv.Fast3D.Mesh3.Mesh3 ( )
inline

Member Function Documentation

override void Aiv.Fast3D.Mesh3.ApplyMatrix ( )
inlineprotected
void Aiv.Fast3D.Mesh3.DrawCel ( Vector4  color,
Light  light,
Vector3  ambientColor,
float  threshold = 0.75f,
DepthTexture  shadowMapTexture = null,
float  shadowBias = 0.005f,
Texture  normalMapTexture = null 
)
inline
void Aiv.Fast3D.Mesh3.DrawCel ( Texture  texture,
Light  light,
Vector3  ambientColor,
float  threshold = 0.75f,
DepthTexture  shadowMapTexture = null,
float  shadowBias = 0.005f,
Texture  normalMapTexture = null 
)
inline
void Aiv.Fast3D.Mesh3.DrawGouraud ( Vector4  color,
Light  light,
DepthTexture  shadowMapTexture = null,
float  shadowBias = 0.005f 
)
inline
void Aiv.Fast3D.Mesh3.DrawGouraud ( Texture  texture,
Light  light,
DepthTexture  shadowMapTexture = null,
float  shadowBias = 0.005f 
)
inline
void Aiv.Fast3D.Mesh3.DrawPhong ( Vector4  color,
Light  light,
Vector3  ambientColor,
float  shininess = 0,
DepthTexture  shadowMapTexture = null,
float  shadowBias = 0.005f,
Texture  normalMapTexture = null 
)
inline
void Aiv.Fast3D.Mesh3.DrawPhong ( Texture  texture,
Light  light,
Vector3  ambientColor,
float  shininess = 0,
DepthTexture  shadowMapTexture = null,
float  shadowBias = 0.005f,
Texture  normalMapTexture = null 
)
inline
void Aiv.Fast3D.Mesh3.DrawPhong ( Texture  texture,
Light  light,
Vector3  ambientColor,
Texture  specularMap,
DepthTexture  shadowMapTexture = null,
float  shadowBias = 0.005f,
Texture  normalMapTexture = null 
)
inline
void Aiv.Fast3D.Mesh3.DrawPhong ( Material  material)
inline
void Aiv.Fast3D.Mesh3.DrawShadowMap ( Light  light)
inline
void Aiv.Fast3D.Mesh3.RebuildSkeleton ( )
inline
void Aiv.Fast3D.Mesh3.RegenerateNormals ( )
inline
void Aiv.Fast3D.Mesh3.RegenerateTangents ( )
inline
void Aiv.Fast3D.Mesh3.ResetUniforms ( )
inline
delegate Matrix4 Aiv.Fast3D.Mesh3.RotationFunc ( )
void Aiv.Fast3D.Mesh3.SetDefaultLight ( Light  light)
inlineprotected
void Aiv.Fast3D.Mesh3.SetParent ( Mesh3  parent)
inline
void Aiv.Fast3D.Mesh3.SetRotationMode ( RotationMode  mode)
inline
void Aiv.Fast3D.Mesh3.SetRotationMode ( RotationFunc  func)
inline
override string Aiv.Fast3D.Mesh3.ToString ( )
inline
void Aiv.Fast3D.Mesh3.UpdateInfluencesAndWeights ( )
inline
void Aiv.Fast3D.Mesh3.UpdateNormals ( )
inline
void Aiv.Fast3D.Mesh3.UpdateTangents ( )
inline

Member Data Documentation

int [] Aiv.Fast3D.Mesh3.influences0
int [] Aiv.Fast3D.Mesh3.influences1
string Aiv.Fast3D.Mesh3.Name
Bone [] Aiv.Fast3D.Mesh3.Skeleton
float [] Aiv.Fast3D.Mesh3.vn
float [] Aiv.Fast3D.Mesh3.vtgt
float [] Aiv.Fast3D.Mesh3.weights0
float [] Aiv.Fast3D.Mesh3.weights1

Property Documentation

Vector3 Aiv.Fast3D.Mesh3.EulerRotation3
getset
Vector3 Aiv.Fast3D.Mesh3.Forward
get
Matrix4 Aiv.Fast3D.Mesh3.Matrix
get
Mesh3 Aiv.Fast3D.Mesh3.Parent
get
Vector3 Aiv.Fast3D.Mesh3.Pivot3
getset
Vector3 Aiv.Fast3D.Mesh3.Position3
getset
Quaternion Aiv.Fast3D.Mesh3.Quaternion
get
Vector3 Aiv.Fast3D.Mesh3.Right
get
Vector3 Aiv.Fast3D.Mesh3.Rotation3
getset
Vector3 Aiv.Fast3D.Mesh3.Scale3
getset
Vector3 Aiv.Fast3D.Mesh3.Up
get

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