C# 클래스 Indiefreaks.Xna.Rendering.Sprite.SpriteObject

The SpriteObject class stores a Material that is rendered with a SpriteContainer and reacts to CollisionManager events
상속: SceneObject, IContentHost
파일 보기 프로젝트 열기: Indiefreaks/igf

공개 메소드들

메소드 설명
LoadContent ( IContentCatalogue catalogue, Microsoft.Xna.Framework.Content.ContentManager manager ) : void

Load all XNA ContentManager content

SpriteObject ( ) : Indiefreaks.Xna.Core

Creates a new instance

UnloadContent ( IContentCatalogue catalogue ) : void

Unload all XNA ContentManager content

보호된 메소드들

메소드 설명
CalculateObjectBounds ( Microsoft.Xna.Framework.BoundingBox &objectboundingbox, BoundingSphere &objectboundingsphere ) : void

Calculates the object bounds.

UpdateWorldAndWorldToObject ( Matrix &world, Matrix &worldtoobj ) : void

Updates the object world space and inverse world space transforms. Override to perform custom code when the world transform changes.

메소드 상세

CalculateObjectBounds() 보호된 메소드

Calculates the object bounds.
protected CalculateObjectBounds ( Microsoft.Xna.Framework.BoundingBox &objectboundingbox, BoundingSphere &objectboundingsphere ) : void
objectboundingbox Microsoft.Xna.Framework.BoundingBox Object bounds to update.
objectboundingsphere BoundingSphere Object bounds to update.
리턴 void

LoadContent() 공개 메소드

Load all XNA ContentManager content
public LoadContent ( IContentCatalogue catalogue, Microsoft.Xna.Framework.Content.ContentManager manager ) : void
catalogue IContentCatalogue
manager Microsoft.Xna.Framework.Content.ContentManager XNA content manage
리턴 void

SpriteObject() 공개 메소드

Creates a new instance
public SpriteObject ( ) : Indiefreaks.Xna.Core
리턴 Indiefreaks.Xna.Core

UnloadContent() 공개 메소드

Unload all XNA ContentManager content
public UnloadContent ( IContentCatalogue catalogue ) : void
catalogue IContentCatalogue
리턴 void

UpdateWorldAndWorldToObject() 보호된 메소드

Updates the object world space and inverse world space transforms. Override to perform custom code when the world transform changes.
protected UpdateWorldAndWorldToObject ( Matrix &world, Matrix &worldtoobj ) : void
world Microsoft.Xna.Framework.Matrix World space transform.
worldtoobj Microsoft.Xna.Framework.Matrix Inverse world space transform.
리턴 void