Click or drag to resize
SpriteRenderer Properties

The SpriteRenderer type exposes the following members.

Properties
  NameDescription
Public property_GameObject
Get the game object this component is attached to.
(Inherited from BaseComponent.)
Public propertyBlendingState
Set / get Entity blending state.
(Inherited from BaseRendererComponent.)
Public propertyEnabled
Is this component currently enabled.
(Inherited from BaseComponent.)
Public propertyFaceCamera
If true, sprite will always face camera. If false will just use node's rotation.
Public propertyLockedAxis
Set / get optional axis to lock rotation to (when facing camera).
Public propertyMaterial
Set / get the material of this sprite.
Public propertyMaterialOverride
Override material default settings for this specific model instance.
Public propertyName
Get / set the name of this component.
(Inherited from IComponent.)
Public propertyRenderingQueue
Set / get the rendering queue of this entity.
(Inherited from BaseRendererComponent.)
Top
See Also