Logo
Public Member Functions | Public Attributes | List of all members
Yukar.Engine.MapBillboard Class Reference

billboard display class More...

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

Public Member Functions

 MapBillboard (uint resolution, System.Guid assetID, ushort pickupid=0xffff, uint mode=0, bool useAlpha=false, bool useLighting=true)
 
void setResolution (uint resolution)
 
void setBillboardMode (uint mode)
 
void getBound (ref SharpKmyMath.Vector3 refMin, ref SharpKmyMath.Vector3 refMax)
 
void addMotion (string name, Guid tex, Common.Resource.Texture.Slice slice, uint divX, uint divY, uint speed, uint type, float angle, float offset)
 
void play (string name, bool force=false)
 
void setTopViewMode (bool flg)
 
void setVisibility (bool flg)
 
void stopPickup (bool flg)
 
void setDisplayID (uint id)
 
void setScale (float scaleX, float scaleY=1.0f)
 
void finalize ()
 
void setL2W (SharpKmyMath.Matrix4 m)
 
SharpKmyMath.Vector3 getPosition ()
 
override void draw (SharpKmyGfx.Render scn)
 
bool isHit (SharpKmyMath.Vector3 inPos, SharpKmyMath.Vector3 offset, SharpKmyMath.Vector3 inMaxSize)
 
void setDrawHidden (bool flg)
 
void setOverrideColor (SharpKmyGfx.Color c)
 
void setOpacityMultiplier (float v)
 
SharpKmyGfx.BillboardChar getBillboardChar ()
 
int getDivY ()
 
- Public Member Functions inherited from SharpKmyGfx::Drawable
 Drawable ()
 
void Release ()
 
virtual void draw (Render ^scn)
 

Public Attributes

Vector2 sz
 
SharpKmyMath.Matrix4 mL2w = new SharpKmyMath.Matrix4()
 
int layer
 
SharpKmyGfx.Color color = SharpKmyGfx.Color.White
 
SharpKmyGfx.BLENDTYPE blend = SharpKmyGfx.BLENDTYPE.kOPAQUE
 
string lastMotion
 
- Public Attributes inherited from SharpKmyGfx::Drawable
System::Runtime::InteropServices::GCHandle handle
 

Detailed Description

billboard display class

Constructor & Destructor Documentation

◆ MapBillboard()

Yukar.Engine.MapBillboard.MapBillboard ( uint  resolution,
System.Guid  assetID,
ushort  pickupid = 0xffff,
uint  mode = 0,
bool  useAlpha = false,
bool  useLighting = true 
)

Member Function Documentation

◆ addMotion()

void Yukar.Engine.MapBillboard.addMotion ( string  name,
Guid  tex,
Common.Resource.Texture.Slice  slice,
uint  divX,
uint  divY,
uint  speed,
uint  type,
float  angle,
float  offset 
)

◆ draw()

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

◆ finalize()

void Yukar.Engine.MapBillboard.finalize ( )

◆ getBillboardChar()

SharpKmyGfx.BillboardChar Yukar.Engine.MapBillboard.getBillboardChar ( )

◆ getBound()

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

◆ getDivY()

int Yukar.Engine.MapBillboard.getDivY ( )

◆ getPosition()

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

◆ isHit()

bool Yukar.Engine.MapBillboard.isHit ( SharpKmyMath.Vector3  inPos,
SharpKmyMath.Vector3  offset,
SharpKmyMath.Vector3  inMaxSize 
)

◆ play()

void Yukar.Engine.MapBillboard.play ( string  name,
bool  force = false 
)

◆ setBillboardMode()

void Yukar.Engine.MapBillboard.setBillboardMode ( uint  mode)

◆ setDisplayID()

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

◆ setDrawHidden()

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

◆ setL2W()

void Yukar.Engine.MapBillboard.setL2W ( SharpKmyMath.Matrix4  m)

◆ setOpacityMultiplier()

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

◆ setOverrideColor()

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

◆ setResolution()

void Yukar.Engine.MapBillboard.setResolution ( uint  resolution)

◆ setScale()

void Yukar.Engine.MapBillboard.setScale ( float  scaleX,
float  scaleY = 1.0f 
)

◆ setTopViewMode()

void Yukar.Engine.MapBillboard.setTopViewMode ( bool  flg)

◆ setVisibility()

void Yukar.Engine.MapBillboard.setVisibility ( bool  flg)

◆ stopPickup()

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

Member Data Documentation

◆ blend

SharpKmyGfx.BLENDTYPE Yukar.Engine.MapBillboard.blend = SharpKmyGfx.BLENDTYPE.kOPAQUE

◆ color

SharpKmyGfx.Color Yukar.Engine.MapBillboard.color = SharpKmyGfx.Color.White

◆ lastMotion

string Yukar.Engine.MapBillboard.lastMotion

◆ layer

int Yukar.Engine.MapBillboard.layer

◆ mL2w

SharpKmyMath.Matrix4 Yukar.Engine.MapBillboard.mL2w = new SharpKmyMath.Matrix4()

◆ sz

Vector2 Yukar.Engine.MapBillboard.sz