- Home /
How to issue render call from script
Is it possible to override unity rendering and render from a script. By this I mean something like this:
void RenderMyStuff() {
foreach (MyRenderObj ro in renderObjList)
ro.gameObject.renderer.Render(0);
}
Where the gameObject is Unity's GameObject which is disabled so that unity won't draw it automatically.
Comment
Answer by naro · Aug 17, 2011 at 07:45 AM
ok, i was rather blind with this - Graphics.DrawMesh(...); did the trick :)
Your answer
Follow this Question
Related Questions
How can I show/hide all models in a GameObject? 1 Answer
In unity game mode, Camera issue 2 Answers
Changing the gameobject xyz-axis 3 Answers
Hybrid Renderer Visual Bug (FPS Drop?) 0 Answers