Class: LiteRGSS::ShaderedSprite

Inherits:
Sprite show all
Defined in:
LiteRGSS.rb.yard.rb

Overview

Class that describe a Shadered Sprite

Direct Known Subclasses

Sprite

Instance Attribute Summary collapse

Attributes inherited from Sprite

#__index__, #angle, #bitmap, #height, #mirror, #opacity, #ox, #oy, #src_rect, #viewport, #visible, #width, #x, #y, #z, #zoom, #zoom_x, #zoom_y

Method Summary

Methods inherited from Sprite

#initialize, #set_origin, #set_position

Methods inherited from Disposable

#dispose, #disposed?

Constructor Details

This class inherits a constructor from LiteRGSS::Sprite

Instance Attribute Details

#blendmode ⇒ Shader, BlendMode

Returns Set the sprite BlendMode.

Returns:



967
968
969
# File 'LiteRGSS.rb.yard.rb', line 967

def blendmode
  @blendmode
end

#shader ⇒ Shader, BlendMode

Returns Set the sprite shader.

Returns:



965
966
967
# File 'LiteRGSS.rb.yard.rb', line 965

def shader
  @shader
end