C# Class Protogame.Render3DModelComponent

Inheritance: IRenderableComponent, IEnabledComponent, IHasTransform
显示文件 Open project: RedpointGames/Protogame Class Usage Examples

Public Methods

Method Description
Render ( Protogame.ComponentizedEntity entity, IGameContext gameContext, IRenderContext renderContext ) : void
Render3DModelComponent ( INode node, I3DRenderUtilities renderUtilities, IAssetManagerProvider assetManagerProvider, ITextureFromHintPath textureFromHintPath, IRenderBatcher renderBatcher ) : System

Private Methods

Method Description
GetEffect ( bool &changedRenderRequest, string &changedRenderRequestBy ) : IEffect
GetEffectParameterSet ( IMaterial material, bool &changedRenderRequest, string &changedRenderRequestBy ) : IEffectParameterSet
GetModelAnimation ( bool &changedRenderRequest, string &changedRenderRequestBy ) : IAnimation
UpdateCachedModel ( IMaterial material, bool &changedRenderRequest, string &changedRenderRequestBy ) : void

Method Details

Render() public method

public Render ( Protogame.ComponentizedEntity entity, IGameContext gameContext, IRenderContext renderContext ) : void
entity Protogame.ComponentizedEntity
gameContext IGameContext
renderContext IRenderContext
return void

Render3DModelComponent() public method

public Render3DModelComponent ( INode node, I3DRenderUtilities renderUtilities, IAssetManagerProvider assetManagerProvider, ITextureFromHintPath textureFromHintPath, IRenderBatcher renderBatcher ) : System
node INode
renderUtilities I3DRenderUtilities
assetManagerProvider IAssetManagerProvider
textureFromHintPath ITextureFromHintPath
renderBatcher IRenderBatcher
return System