Class: Sketchup::Material

Inherits:
Entity show all
Includes:
Comparable
Defined in:
lib/material.rb

Instance Method Summary collapse

Methods included from Comparable

#between?

Methods inherited from Entity

#add_observer, #attribute_dictionaries, #attribute_dictionary, #delete_attribute, #deleted?, #entityID, #get_attribute, #model, #parent, #remove_observer, #set_attribute, #to_s, #typename, #valid?

Instance Method Details

#<=>Object



4
5
# File 'lib/material.rb', line 4

def <=>
end

#==Object



6
7
# File 'lib/material.rb', line 6

def ==
end

#alphaObject



8
9
# File 'lib/material.rb', line 8

def alpha
end

#alpha=Object



10
11
# File 'lib/material.rb', line 10

def alpha=
end

#colorSketchup::Color

Note:

The alpha value is always 255. If you want the alpha, use #alpha

Returns the Color of the Material

Returns:



16
17
# File 'lib/material.rb', line 16

def color
end

#color=Object



19
20
# File 'lib/material.rb', line 19

def color=
end

#colorize_deltasArray

Returns:

Since:

  • SketchUp 2015



24
25
# File 'lib/material.rb', line 24

def colorize_deltas
end

#colorize_typeObject



27
28
# File 'lib/material.rb', line 27

def colorize_type
end

#colorize_type=Object



30
31
# File 'lib/material.rb', line 30

def colorize_type=
end

#display_nameObject



33
34
# File 'lib/material.rb', line 33

def display_name
end

#materialTypeObject



35
36
# File 'lib/material.rb', line 35

def materialType
end

#nameObject



37
38
# File 'lib/material.rb', line 37

def name
end

#textureObject



39
40
# File 'lib/material.rb', line 39

def texture
end

#texture=Object



41
42
# File 'lib/material.rb', line 41

def texture=
end

#use_alpha?Boolean

Returns:

  • (Boolean)


43
44
# File 'lib/material.rb', line 43

def use_alpha?
end