MCPcopy Create free account
hub / github.com/StereoKit/StereoKit / Initialize

Method Initialize

Examples/StereoKitTest/Demos/DemoMath.cs:166–172  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

164 }
165
166 public void Initialize() {
167 if (Tests.IsTesting)
168 Time.SetTime(3.4, 1 / 90.0);
169
170 planeMesh = Mesh.GeneratePlane(Vec2.One,Vec3.Forward, Vec3.Up);
171 suzanne = Model.FromFile("suzanne_bin.stl").RootNode.Mesh;
172 }
173 public void Shutdown () { }
174}

Callers

nothing calls this directly

Calls 3

SetTimeMethod · 0.80
GeneratePlaneMethod · 0.80
FromFileMethod · 0.45

Tested by

no test coverage detected