MCPcopy Create free account
hub / github.com/codereader/DarkRadiant / ScriptFace

Class ScriptFace

plugins/script/interfaces/BrushInterface.h:12–43  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

10{
11
12class ScriptFace
13{
14private:
15 IFace* _face;
16 static std::string _emptyShader;
17 static IWinding _emptyWinding;
18
19public:
20 ScriptFace();
21
22 ScriptFace(IFace& face);
23
24 void undoSave();
25
26 const std::string& getShader() const;
27
28 void setShader(const std::string& name);
29
30 void shiftTexdef(float s, float t);
31
32 void scaleTexdef(float s, float t);
33
34 void rotateTexdef(float angle);
35
36 void fitTexture(float s_repeat, float t_repeat);
37
38 void flipTexture(unsigned int flipAxis);
39
40 void normaliseTexture();
41
42 IWinding& getWinding();
43};
44
45class ScriptBrushNode :
46 public ScriptSceneNode

Callers 1

getFaceMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected