Module: TT::Image
- Defined in:
- TT_Lib2/image.rb
Overview
Collection of Face methods.
Class Method Summary collapse
-
.material(image) ⇒ Sketchup::Material
Returns the material for the given
Image
.
Class Method Details
.material(image) ⇒ Sketchup::Material
Returns the material for the given Image
.
22 23 24 25 26 |
# File 'TT_Lib2/image.rb', line 22 def self.material(image) definition = TT::Instance.definition(image) face = definition.entities.grep(Sketchup::Face).first face.material end |