Logo
Public Member Functions | Public Attributes | List of all members
SharpKmyGfx::Primitive Class Reference

#include <Primitive.h>

Inheritance diagram for SharpKmyGfx::Primitive:
SharpKmyGfx::BillboardChar SharpKmyGfx::Cube SharpKmyGfx::DecalVolume SharpKmyGfx::Grid SharpKmyGfx::LineCube SharpKmyGfx::Plane

Public Member Functions

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 ()
 

Public Attributes

kmyGfx::Primitive * obj = nullptr
 

Member Function Documentation

◆ getGeometryInstance()

GeometryInstance SharpKmyGfx::Primitive::getGeometryInstance ( )

◆ getMaterialInstance()

MaterialInstance SharpKmyGfx::Primitive::getMaterialInstance ( )

◆ setDisplayID()

void SharpKmyGfx::Primitive::setDisplayID ( unsigned int  id)

◆ setDrawHidden()

void SharpKmyGfx::Primitive::setDrawHidden ( bool  flg)

◆ setOpacityMultiplier()

void SharpKmyGfx::Primitive::setOpacityMultiplier ( float  p)

◆ setOverrideColor()

void SharpKmyGfx::Primitive::setOverrideColor ( float  r,
float  g,
float  b,
float  a 
)

◆ setPickupID()

void SharpKmyGfx::Primitive::setPickupID ( unsigned short  id)

◆ setPosture()

void SharpKmyGfx::Primitive::setPosture ( SharpKmyMath::Matrix4 posture)

◆ setVisibility()

void SharpKmyGfx::Primitive::setVisibility ( bool  flg)

◆ stopPickup()

void SharpKmyGfx::Primitive::stopPickup ( bool  flg)

Member Data Documentation

◆ obj

kmyGfx::Primitive* SharpKmyGfx::Primitive::obj = nullptr