wiki.sine.space | sinespace

Difference between revisions of "Scripting/SRenderer"

From wiki.sine.space
Jump to: navigation, search
(Created page with "A renderer is what makes an object appear on the screen. The SRendererclass component interfaces with Unity's Renderer component, exposing its functions to scripting. ==Memb...")
 
(Replaced content with "This page has moved to: https://docs.sine.space/v/scripting/client-scripting/components/srenderer")
 
(15 intermediate revisions by 2 users not shown)
Line 1: Line 1:
A renderer is what makes an object appear on the screen.
+
This page has moved to: https://docs.sine.space/v/scripting/client-scripting/components/srenderer
 
+
The SRendererclass component interfaces with Unity's Renderer component, exposing its functions to scripting.
+
 
+
==Members==
+
{{ScriptFunction|bool|IsVisible|{ get; }|Returns true if the renderer is visible on any camera.}}
+
{{ScriptFunction|bool|Enabled|{ get; set; }|Get/Set if the rendered object is visible.}}
+
{{ScriptFunction|SMaterial|Material|{ get; set; }|Get/Set the material instantiated to the renderer.}}
+
{{ScriptFunction|SMaterial |SharedMaterial|{ get; set; }|Get/Set the shared material used by the renderer.}}
+
{{ScriptFunction|SMaterial|Materials[]|{ get; set; }|Get/Set all materials instantiated to the renderer.}}
+
{{ScriptFunction|SMaterial|SharedMaterials[]|{ get; set; }|Get/Set all shared materials used by the renderer.}}
+
{{Scripting Navbox}}
+

Latest revision as of 06:19, 19 September 2022

This page has moved to: https://docs.sine.space/v/scripting/client-scripting/components/srenderer