Logo
Classes | Public Member Functions | List of all members
Yukar.Engine.MapSprite Class Reference

Class for displaying sprites as billboards on 3D coordinates More...

Inheritance diagram for Yukar.Engine.MapSprite:
SharpKmyGfx::Drawable

Public Member Functions

PhysicsObject getPhysicsObject ()
 
 MapSprite (ushort inPickupID, Common.Resource.NSpriteSet inSpriteSet=null, bool inAutoPlay=false)
 
void finalize ()
 
void stopPickup (bool flg)
 
void setDisplayID (uint id)
 
void setScale (float inScale)
 
void setL2W (SharpKmyMath.Matrix4 m, float inAngle=0)
 
SharpKmyMath.Vector3 getPosition ()
 
void setVisibility (bool inIsVisibility)
 
override void draw (SharpKmyGfx.Render scn)
 
void draw (SharpKmyGfx.Render scn, float elapsed)
 
void addMotion (string inName, Common.Resource.NSprite inEffect)
 
void preloadMotion (string inName)
 
void playMotion (string inName)
 
void getBound (ref SharpKmyMath.Vector3 refMin, ref SharpKmyMath.Vector3 refMax)
 
void setDrawHidden (bool flg)
 
void setOverrideColor (SharpKmyGfx.Color c)
 
void setOpacityMultiplier (float v)
 
bool contains2dMotion (string inName)
 
- Public Member Functions inherited from SharpKmyGfx::Drawable
 Drawable ()
 
void Release ()
 
virtual void draw (Render ^scn)
 

Additional Inherited Members

- Public Attributes inherited from SharpKmyGfx::Drawable
System::Runtime::InteropServices::GCHandle handle
 

Detailed Description

Class for displaying sprites as billboards on 3D coordinates

Constructor & Destructor Documentation

◆ MapSprite()

Yukar.Engine.MapSprite.MapSprite ( ushort  inPickupID,
Common.Resource.NSpriteSet  inSpriteSet = null,
bool  inAutoPlay = false 
)

Member Function Documentation

◆ addMotion()

void Yukar.Engine.MapSprite.addMotion ( string  inName,
Common.Resource.NSprite  inEffect 
)

◆ contains2dMotion()

bool Yukar.Engine.MapSprite.contains2dMotion ( string  inName)

◆ draw() [1/2]

override void Yukar.Engine.MapSprite.draw ( SharpKmyGfx.Render  scn)

◆ draw() [2/2]

void Yukar.Engine.MapSprite.draw ( SharpKmyGfx.Render  scn,
float  elapsed 
)

◆ finalize()

void Yukar.Engine.MapSprite.finalize ( )

◆ getBound()

void Yukar.Engine.MapSprite.getBound ( ref SharpKmyMath.Vector3  refMin,
ref SharpKmyMath.Vector3  refMax 
)

◆ getPhysicsObject()

PhysicsObject Yukar.Engine.MapSprite.getPhysicsObject ( )

◆ getPosition()

SharpKmyMath.Vector3 Yukar.Engine.MapSprite.getPosition ( )

◆ playMotion()

void Yukar.Engine.MapSprite.playMotion ( string  inName)

◆ preloadMotion()

void Yukar.Engine.MapSprite.preloadMotion ( string  inName)

◆ setDisplayID()

void Yukar.Engine.MapSprite.setDisplayID ( uint  id)

◆ setDrawHidden()

void Yukar.Engine.MapSprite.setDrawHidden ( bool  flg)

◆ setL2W()

void Yukar.Engine.MapSprite.setL2W ( SharpKmyMath.Matrix4  m,
float  inAngle = 0 
)

◆ setOpacityMultiplier()

void Yukar.Engine.MapSprite.setOpacityMultiplier ( float  v)

◆ setOverrideColor()

void Yukar.Engine.MapSprite.setOverrideColor ( SharpKmyGfx.Color  c)

◆ setScale()

void Yukar.Engine.MapSprite.setScale ( float  inScale)

◆ setVisibility()

void Yukar.Engine.MapSprite.setVisibility ( bool  inIsVisibility)

◆ stopPickup()

void Yukar.Engine.MapSprite.stopPickup ( bool  flg)