Logo
Public Member Functions | Static Public Member Functions | List of all members
SharpKmyGfx::BillboardChar Class Reference

#include <Billboard.h>

Inheritance diagram for SharpKmyGfx::BillboardChar:
SharpKmyGfx::Primitive

Public Member Functions

 BillboardChar (unsigned int resolution, System::String^ shaderName, System::Guid guid)
 
 BillboardChar (unsigned int resolution, bool useAlpha, bool useLighting, System::Guid guid)
 
 BillboardChar (unsigned int resolution, System::Guid guid)
 
 ~BillboardChar ()
 
void setResolution (u32 resolution)
 
void addMotion (System::Guid guid, System::String^ name, UInt32 slicetype, UInt32 hdiv, UInt32 vdiv, UInt32 speed, UInt32 animtype, float angleOffset, float yOffset)
 
void removeMotion (int index)
 
void updateMotion (int index, System::Guid guid, System::String^ name, UInt32 hdiv, UInt32 vdiv, UInt32 speed, UInt32 animtype, float angleOffset, float yOffset)
 
void play (System::String^ name, bool force)
 
void play (System::String^ name)
 
void setTopViewMode (bool enabled)
 
void setColor (float r, float g, float b, float a)
 
void setXY (int x, int y)
 
void setFlip (bool flipH, bool flipV)
 
void setScale (float scl)
 
void setScale (float sclX, float sclY)
 
void setBillboardMode (UInt32 mode)
 
void getSize (SharpKmyMath::Vector2% size)
 
int getDivY ()
 
SharpKmyPhysics::PhysicsObject getPhysicsObject ()
 
- Public Member Functions inherited from SharpKmyGfx::Primitive
void setVisibility (bool flg)
 
void setPosture (SharpKmyMath::Matrix4^ posture)
 
void setDisplayID (unsigned int id)
 
void setPickupID (unsigned short id)
 
void stopPickup (bool flg)
 
void setDrawHidden (bool flg)
 
void setOverrideColor (float r, float g, float b, float a)
 
void setOpacityMultiplier (float p)
 
MaterialInstance getMaterialInstance ()
 
GeometryInstance getGeometryInstance ()
 

Static Public Member Functions

static void circleShadowResourceInitialize ()
 
static void circleShadowResourceFinalize ()
 
static void enableCascadeShadow (bool flg)
 
static void setOrtho (bool flg)
 
static array< BillboardChar^> findByAssetID (System::Guid guid)
 

Additional Inherited Members

- Public Attributes inherited from SharpKmyGfx::Primitive
kmyGfx::Primitive * obj = nullptr
 

Constructor & Destructor Documentation

◆ BillboardChar() [1/3]

SharpKmyGfx::BillboardChar::BillboardChar ( unsigned int  resolution,
System::String^  shaderName,
System::Guid  guid 
)

◆ BillboardChar() [2/3]

SharpKmyGfx::BillboardChar::BillboardChar ( unsigned int  resolution,
bool  useAlpha,
bool  useLighting,
System::Guid  guid 
)

◆ BillboardChar() [3/3]

SharpKmyGfx::BillboardChar::BillboardChar ( unsigned int  resolution,
System::Guid  guid 
)

◆ ~BillboardChar()

SharpKmyGfx::BillboardChar::~BillboardChar ( )

Member Function Documentation

◆ addMotion()

void SharpKmyGfx::BillboardChar::addMotion ( System::Guid  guid,
System::String^  name,
UInt32  slicetype,
UInt32  hdiv,
UInt32  vdiv,
UInt32  speed,
UInt32  animtype,
float  angleOffset,
float  yOffset 
)

◆ circleShadowResourceFinalize()

void SharpKmyGfx::BillboardChar::circleShadowResourceFinalize ( )
static

◆ circleShadowResourceInitialize()

void SharpKmyGfx::BillboardChar::circleShadowResourceInitialize ( )
static

◆ enableCascadeShadow()

void SharpKmyGfx::BillboardChar::enableCascadeShadow ( bool  flg)
static

◆ findByAssetID()

array< BillboardChar^> SharpKmyGfx::BillboardChar::findByAssetID ( System::Guid  guid)
static

◆ getDivY()

int SharpKmyGfx::BillboardChar::getDivY ( )

◆ getPhysicsObject()

SharpKmyPhysics::PhysicsObject SharpKmyGfx::BillboardChar::getPhysicsObject ( )

◆ getSize()

void SharpKmyGfx::BillboardChar::getSize ( SharpKmyMath::Vector2 size)

◆ play() [1/2]

void SharpKmyGfx::BillboardChar::play ( System::String^  name)

◆ play() [2/2]

void SharpKmyGfx::BillboardChar::play ( System::String^  name,
bool  force 
)

◆ removeMotion()

void SharpKmyGfx::BillboardChar::removeMotion ( int  index)

◆ setBillboardMode()

void SharpKmyGfx::BillboardChar::setBillboardMode ( UInt32  mode)

◆ setColor()

void SharpKmyGfx::BillboardChar::setColor ( float  r,
float  g,
float  b,
float  a 
)

◆ setFlip()

void SharpKmyGfx::BillboardChar::setFlip ( bool  flipH,
bool  flipV 
)

◆ setOrtho()

void SharpKmyGfx::BillboardChar::setOrtho ( bool  flg)
static

◆ setResolution()

void SharpKmyGfx::BillboardChar::setResolution ( u32  resolution)

◆ setScale() [1/2]

void SharpKmyGfx::BillboardChar::setScale ( float  scl)

◆ setScale() [2/2]

void SharpKmyGfx::BillboardChar::setScale ( float  sclX,
float  sclY 
)

◆ setTopViewMode()

void SharpKmyGfx::BillboardChar::setTopViewMode ( bool  enabled)

◆ setXY()

void SharpKmyGfx::BillboardChar::setXY ( int  x,
int  y 
)

◆ updateMotion()

void SharpKmyGfx::BillboardChar::updateMotion ( int  index,
System::Guid  guid,
System::String^  name,
UInt32  hdiv,
UInt32  vdiv,
UInt32  speed,
UInt32  animtype,
float  angleOffset,
float  yOffset 
)