Logo
Primitive.h
1#pragma once
2
3#include "Math/Matrix4.h"
4
5namespace SharpKmyGfx
6{
7 ref class MaterialInstance;
8 ref class GeometryInstance;
9
10 public ref class Primitive
11 {
12 public:
13 void setVisibility(bool flg);
14 //[[deplicated("use setTranslate/setRotate/setScale")]]
15 void setPosture(SharpKmyMath::Matrix4^ posture);
16 void setDisplayID(unsigned int id);
17 void setPickupID(unsigned short id);
18 void stopPickup(bool flg);
19 void setDrawHidden(bool flg);
20 void setOverrideColor(float r, float g, float b, float a);
21 void setOpacityMultiplier(float p);
24
25 kmyGfx::Primitive* obj = nullptr;
26 };
27}
Definition: GeometryInstance.h:9
Definition: MaterialInstance.h:6
Definition: Primitive.h:11
GeometryInstance getGeometryInstance()
Definition: Primitive.cpp:59
void setVisibility(bool flg)
Definition: Primitive.cpp:5
kmyGfx::Primitive * obj
Definition: Primitive.h:25
void setPickupID(unsigned short id)
Definition: Primitive.cpp:28
void setOverrideColor(float r, float g, float b, float a)
Definition: Primitive.cpp:40
void stopPickup(bool flg)
Definition: Primitive.cpp:32
void setPosture(SharpKmyMath::Matrix4^ posture)
Definition: Primitive.cpp:9
void setDrawHidden(bool flg)
Definition: Primitive.cpp:36
MaterialInstance getMaterialInstance()
Definition: Primitive.cpp:49
void setOpacityMultiplier(float p)
Definition: Primitive.cpp:44
void setDisplayID(unsigned int id)
Definition: Primitive.cpp:24
Definition: Matrix4.h:10
Definition: Billboard.cpp:4