Свойство | Type | Description | |
---|---|---|---|
Animation | |||
HeadMesh | |||
LeftHandTexture | Microsoft.Xna.Framework.Graphics.Texture2D | ||
RotationRange | float | ||
RotationSpeed | float | ||
RotationStartAngle | float | ||
ShouldRotate | bool | ||
Skel |
Свойство | Type | Description | |
---|---|---|---|
m_BodyEffect | |||
m_Devc | GraphicsDevice |
Méthode | Description | |
---|---|---|
AdvanceFrame ( |
Advances the frame of an animation for a skeleton used on this mesh.
|
|
AvatarBase ( GraphicsDevice Devc, |
Creates a new instance of AvatarBase.
|
|
ChangeOutfit ( |
Changes this avatar's outfit.
|
|
ComputeBonePositions ( |
Computes the absolute positions for all bones in a Skeleton.
|
|
Dispose ( ) : void | ||
Render ( Matrix ViewMatrix, Matrix WorldMatrix, Matrix ProjectionMatrix ) : void |
Renders the different meshes making up this avatar.
|
|
SetHead ( |
Sets this avatar's head outfit.
|
|
Update ( |
Updates this avatar's rotation.
|
Méthode | Description | |
---|---|---|
Dispose ( bool CleanUpManagedResources ) : void |
Méthode | Description | |
---|---|---|
DegreesToRadians ( double Angle ) : double |
Converts an angle given in degrees to radians.
|
|
TransformVertices ( |
Transforms all vertices in a given mesh to their correct positions.
|
public AdvanceFrame ( |
||
Animation | The animation to advance. | |
TimeDelta | float | The timedelta of the rendering loop. |
Résultat | void |
public AvatarBase ( GraphicsDevice Devc, |
||
Devc | GraphicsDevice | A GraphicsDevice instance. |
Skel | A Skeleton instance. | |
Résultat | System |
public ChangeOutfit ( |
||
Oft | ||
Type | SkinType | |
Résultat | void |
public ComputeBonePositions ( |
||
bone | The first bone in the skeleton. | |
world | Matrix | World matrix. |
Résultat | void |
protected Dispose ( bool CleanUpManagedResources ) : void | ||
CleanUpManagedResources | bool | |
Résultat | void |
public Render ( Matrix ViewMatrix, Matrix WorldMatrix, Matrix ProjectionMatrix ) : void | ||
ViewMatrix | Matrix | A view matrix. |
WorldMatrix | Matrix | A world matrix. |
ProjectionMatrix | Matrix | A projection matrix. |
Résultat | void |
public SetHead ( |
||
HeadOutfit | ||
Type | SkinType | |
Résultat | void |
public Update ( |
||
GTime | A GameTime instance. | |
Résultat | void |
public Texture2D,Microsoft.Xna.Framework.Graphics LeftHandTexture | ||
Résultat | Microsoft.Xna.Framework.Graphics.Texture2D |
protected BasicEffect,Microsoft.Xna.Framework.Graphics m_BodyEffect | ||
Résultat |