Method: Sketchup::Camera#image_width=

Defined in:
lib/sketchup-api-stubs/stubs/Sketchup/Camera.rb

#image_width=(image_width) ⇒ Object

The #image_width= method is used to set the width of the image, as used to calculate the #focal_length. This value has no effect on how the view is displayed in SketchUp.

The default value, 0, is interpreted by SketchUp as 36 mm (the width of traditional 35 mm film).

Examples:

camera = Sketchup::Camera.new
camera.image_width = 1.0
focal_length = camera.focal_length

Parameters:

  • image_width (Float)

    Width in mm.

Version:

  • SketchUp 6.0



283
284
# File 'lib/sketchup-api-stubs/stubs/Sketchup/Camera.rb', line 283

def image_width=(image_width)
end