Logo
Primitive.h
1#pragma once
2
3#include "Math/Matrix4.h"
4
5namespace XXSharpKmyGfx
6{
7 ref class MaterialInstance;
8 ref class GeometryInstance;
9
10 private ref class Primitive
11 {
12 public:
13 void setVisibility(bool flg);
14 //[[deplicated("use setTranslate/setRotate/setScale")]]
15 void setPosture(XXSharpKmyMath::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);
22 MaterialInstance^ getMaterialInstance();
23 GeometryInstance^ getGeometryInstance();
24
25 kmyGfx::Primitive* obj = nullptr;
26 };
27}