Class: Sketchup::Material

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

Constant Summary

MATERIAL_SOLID =
0
MATERIAL_TEXTURED =
1
MATERIAL_COLORIZED_TEXTURED =
2

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



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

def <=>
end

#==Object



12
13
# File 'lib/material.rb', line 12

def ==
end

#alphaObject



14
15
# File 'lib/material.rb', line 14

def alpha
end

#alpha=Object



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

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



22
23
# File 'lib/material.rb', line 22

def color
end

#color=Object



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

def color=
end

#colorize_deltasArray

Since:

  • SketchUp 2015



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

def colorize_deltas
end

#colorize_typeObject



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

def colorize_type
end

#colorize_type=Object



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

def colorize_type=
end

#display_nameObject



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

def display_name
end

#materialTypeObject



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

def materialType
end

#nameObject



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

def name
end

#textureObject



45
46
# File 'lib/material.rb', line 45

def texture
end

#texture=Object



47
48
# File 'lib/material.rb', line 47

def texture=
end

#use_alpha?Boolean



49
50
# File 'lib/material.rb', line 49

def use_alpha?
end