wiki.sine.space | sinespace

Scripting/SRenderer

From wiki.sine.space
Revision as of 18:49, 19 April 2017 by Mike (CNDG) (Talk | contribs) (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...")

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

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.

Members

IsVisible

bool IsVisible { get; }

Returns true if the renderer is visible on any camera.

No example provided yet


Enabled

bool Enabled { get; set; }

Get/Set if the rendered object is visible.

No example provided yet


Material

SMaterial Material { get; set; }

Get/Set the material instantiated to the renderer.

No example provided yet


SharedMaterial

SMaterial SharedMaterial { get; set; }

Get/Set the shared material used by the renderer.

No example provided yet


Materials[]

SMaterial Materials[] { get; set; }

Get/Set all materials instantiated to the renderer.

No example provided yet


SharedMaterials[]

SMaterial SharedMaterials[] { get; set; }

Get/Set all shared materials used by the renderer.

No example provided yet