C# Class Pokemon3D.Entities.System.Components.ModelEntityComponent

Inheritance: EntityComponent
ファイルを表示 Open project: nilllzz/Pokemon3D Class Usage Examples

Private Properties

Property Type Description
AddTextureRegion void
ModelEntityComponent System.Collections.Generic

Public Methods

Method Description
Clone ( Entity target ) : EntityComponent
ModelEntityComponent ( Entity referringEntity, Mesh mesh, Material material, bool isBillboard ) : System.Collections.Generic
ModelEntityComponent ( EntityComponentDataCreationStruct parameters ) : System.Collections.Generic
OnComponentRemove ( ) : void
OnInitialized ( ) : void
OnIsActiveChanged ( ) : void
SetTexture ( int index ) : void
Update ( GameTime gameTime ) : void

Private Methods

Method Description
AddTextureRegion ( Microsoft.Xna.Framework.Graphics.Texture2D texture, Rectangle region ) : void
ModelEntityComponent ( Entity referringEntity ) : System.Collections.Generic

Method Details

Clone() public method

public Clone ( Entity target ) : EntityComponent
target Entity
return EntityComponent

ModelEntityComponent() public method

public ModelEntityComponent ( Entity referringEntity, Mesh mesh, Material material, bool isBillboard ) : System.Collections.Generic
referringEntity Entity
mesh Pokemon3D.Rendering.Data.Mesh
material Material
isBillboard bool
return System.Collections.Generic

ModelEntityComponent() public method

public ModelEntityComponent ( EntityComponentDataCreationStruct parameters ) : System.Collections.Generic
parameters EntityComponentDataCreationStruct
return System.Collections.Generic

OnComponentRemove() public method

public OnComponentRemove ( ) : void
return void

OnInitialized() public method

public OnInitialized ( ) : void
return void

OnIsActiveChanged() public method

public OnIsActiveChanged ( ) : void
return void

SetTexture() public method

public SetTexture ( int index ) : void
index int
return void

Update() public method

public Update ( GameTime gameTime ) : void
gameTime Microsoft.Xna.Framework.GameTime
return void