Projector Class, inherits from BehaviourA script interface for a projector component. The Projector can be used to project any material onto the scene - just like a real world projector. The properties exposed by this class are an exact match for the values in the Projector's inspector. It can be used to implement blob or projected shadows. You could also project an animated texture or a render texture that films another part of the scene. The projector will render all objects in its view frustum with the provided material. There is no shortcut property in GameObject or Component to access the Projector, so you must use GetComponent to do it: function Start() { // Get the projector var proj : Projector = GetComponent (Projector); // Use it proj.nearClipPlane = 0.5; } See Also: projector component. Variables
Inherited members
Inherited Variables
Inherited Functions
Inherited Class Functions
|
