scriptup 2026.0.1 → 2026.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +43 -24
- data/ext/arc_curve.c +50 -0
- data/ext/attribute_dictionaries.c +49 -32
- data/ext/attribute_dictionary.c +54 -127
- data/ext/axes.c +79 -0
- data/ext/behavior.c +100 -9
- data/ext/bounding_box.c +195 -0
- data/ext/camera.c +178 -0
- data/ext/classifications.c +85 -0
- data/ext/color.c +91 -163
- data/ext/component_definition.c +78 -162
- data/ext/component_instance.c +88 -9
- data/ext/construction.c +59 -0
- data/ext/curve.c +87 -0
- data/ext/definition_list.c +89 -109
- data/ext/depend +1 -0
- data/ext/drawing_element.c +96 -117
- data/ext/edge.c +147 -0
- data/ext/edge_use.c +37 -0
- data/ext/entities.c +573 -16
- data/ext/entities_builder.c +145 -0
- data/ext/entity.c +175 -215
- data/ext/environments.c +149 -0
- data/ext/extconf.rb +54 -10
- data/ext/face.c +331 -0
- data/ext/geom.c +172 -0
- data/ext/group.c +86 -0
- data/ext/helpers.c +244 -0
- data/ext/image.c +182 -0
- data/ext/image_rep.c +158 -0
- data/ext/instance_path.c +185 -0
- data/ext/lat_long.c +88 -0
- data/ext/layer.c +98 -0
- data/ext/layer_folder.c +99 -0
- data/ext/layers.c +122 -0
- data/ext/length.c +253 -0
- data/ext/line_styles.c +60 -0
- data/ext/loop.c +24 -0
- data/ext/material.c +144 -197
- data/ext/materials.c +49 -60
- data/ext/model.c +232 -26
- data/ext/options_store.c +188 -0
- data/ext/page.c +168 -0
- data/ext/pages.c +135 -0
- data/ext/point2d.c +195 -0
- data/ext/point3d.c +340 -0
- data/ext/polygon_mesh.c +253 -0
- data/ext/scriptup.h +279 -0
- data/ext/section_plane.c +44 -0
- data/ext/sketchup.c +102 -76
- data/ext/styles.c +91 -0
- data/ext/text.c +135 -0
- data/ext/texture.c +74 -83
- data/ext/texture_writer.c +104 -0
- data/ext/transformation.c +309 -0
- data/ext/transformation2d.c +190 -0
- data/ext/uv_helper.c +41 -0
- data/ext/vector2d.c +238 -0
- data/ext/vector3d.c +294 -0
- data/ext/vertex.c +67 -0
- data/lib/sketchup.rb +2 -2
- data/sig/_top_level.rbs +188 -0
- data/sig/array.rbs +52 -0
- data/sig/geom/bounding_box.rbs +28 -0
- data/sig/geom/bounds2d.rbs +20 -0
- data/sig/geom/lat_long.rbs +13 -0
- data/sig/geom/oriented_bounds2d.rbs +10 -0
- data/sig/geom/point2d.rbs +32 -0
- data/sig/geom/point3d.rbs +46 -0
- data/sig/geom/polygon_mesh.rbs +35 -0
- data/sig/geom/transformation.rbs +44 -0
- data/sig/geom/transformation2d.rbs +26 -0
- data/sig/geom/utm.rbs +14 -0
- data/sig/geom/vector2d.rbs +40 -0
- data/sig/geom/vector3d.rbs +49 -0
- data/sig/geom.rbs +25 -0
- data/sig/language_handler.rbs +8 -0
- data/sig/layout/angular_dimension.rbs +32 -0
- data/sig/layout/auto_text_definition.rbs +73 -0
- data/sig/layout/auto_text_definitions.rbs +15 -0
- data/sig/layout/connection_point.rbs +6 -0
- data/sig/layout/dictionary.rbs +18 -0
- data/sig/layout/document.rbs +61 -0
- data/sig/layout/ellipse.rbs +5 -0
- data/sig/layout/entities.rbs +10 -0
- data/sig/layout/entity.rbs +28 -0
- data/sig/layout/formatted_text.rbs +30 -0
- data/sig/layout/grid.rbs +24 -0
- data/sig/layout/group.rbs +17 -0
- data/sig/layout/image.rbs +7 -0
- data/sig/layout/label.rbs +31 -0
- data/sig/layout/layer.rbs +21 -0
- data/sig/layout/layer_instance.rbs +9 -0
- data/sig/layout/layers.rbs +18 -0
- data/sig/layout/linear_dimension.rbs +39 -0
- data/sig/layout/locked_entity_error.rbs +4 -0
- data/sig/layout/locked_layer_error.rbs +4 -0
- data/sig/layout/page.rbs +20 -0
- data/sig/layout/page_info.rbs +37 -0
- data/sig/layout/pages.rbs +17 -0
- data/sig/layout/path.rbs +34 -0
- data/sig/layout/rectangle.rbs +15 -0
- data/sig/layout/reference_entity.rbs +7 -0
- data/sig/layout/sketch_up_model.rbs +54 -0
- data/sig/layout/style.rbs +150 -0
- data/sig/layout/table.rbs +17 -0
- data/sig/layout/table_cell.rbs +13 -0
- data/sig/layout/table_column.rbs +10 -0
- data/sig/layout/table_row.rbs +10 -0
- data/sig/layout.rbs +4 -0
- data/sig/length.rbs +37 -0
- data/sig/numeric.rbs +23 -0
- data/sig/sketchup/animation.rbs +8 -0
- data/sig/sketchup/app_observer.rbs +11 -0
- data/sig/sketchup/arc_curve.rbs +14 -0
- data/sig/sketchup/attribute_dictionaries.rbs +11 -0
- data/sig/sketchup/attribute_dictionary.rbs +18 -0
- data/sig/sketchup/axes.rbs +13 -0
- data/sig/sketchup/behavior.rbs +19 -0
- data/sig/sketchup/camera.rbs +33 -0
- data/sig/sketchup/classification_schema.rbs +8 -0
- data/sig/sketchup/classifications.rbs +12 -0
- data/sig/sketchup/color.rbs +22 -0
- data/sig/sketchup/component_definition.rbs +43 -0
- data/sig/sketchup/component_instance.rbs +32 -0
- data/sig/sketchup/console.rbs +8 -0
- data/sig/sketchup/construction_line.rbs +17 -0
- data/sig/sketchup/construction_point.rbs +5 -0
- data/sig/sketchup/curve.rbs +13 -0
- data/sig/sketchup/definition_list.rbs +26 -0
- data/sig/sketchup/definition_observer.rbs +6 -0
- data/sig/sketchup/definitions_observer.rbs +8 -0
- data/sig/sketchup/dimension.rbs +18 -0
- data/sig/sketchup/dimension_linear.rbs +24 -0
- data/sig/sketchup/dimension_observer.rbs +5 -0
- data/sig/sketchup/dimension_radial.rbs +9 -0
- data/sig/sketchup/drawingelement.rbs +18 -0
- data/sig/sketchup/edge.rbs +24 -0
- data/sig/sketchup/edge_use.rbs +13 -0
- data/sig/sketchup/entities.rbs +61 -0
- data/sig/sketchup/entities_builder.rbs +15 -0
- data/sig/sketchup/entities_observer.rbs +9 -0
- data/sig/sketchup/entity.rbs +21 -0
- data/sig/sketchup/entity_observer.rbs +6 -0
- data/sig/sketchup/environment.rbs +25 -0
- data/sig/sketchup/environments.rbs +18 -0
- data/sig/sketchup/environments_observer.rbs +8 -0
- data/sig/sketchup/extensions_manager.rbs +11 -0
- data/sig/sketchup/face.rbs +44 -0
- data/sig/sketchup/frame_change_observer.rbs +5 -0
- data/sig/sketchup/group.rbs +38 -0
- data/sig/sketchup/http/request.rbs +17 -0
- data/sig/sketchup/http/response.rbs +7 -0
- data/sig/sketchup/http.rbs +27 -0
- data/sig/sketchup/image.rbs +23 -0
- data/sig/sketchup/image_rep.rbs +17 -0
- data/sig/sketchup/importer.rbs +14 -0
- data/sig/sketchup/input_point.rbs +25 -0
- data/sig/sketchup/instance_observer.rbs +6 -0
- data/sig/sketchup/instance_path.rbs +20 -0
- data/sig/sketchup/layer.rbs +20 -0
- data/sig/sketchup/layer_folder.rbs +26 -0
- data/sig/sketchup/layers.rbs +30 -0
- data/sig/sketchup/layers_observer.rbs +13 -0
- data/sig/sketchup/licensing/extension_license.rbs +8 -0
- data/sig/sketchup/licensing.rbs +15 -0
- data/sig/sketchup/line_style.rbs +5 -0
- data/sig/sketchup/line_styles.rbs +13 -0
- data/sig/sketchup/load_handler.rbs +8 -0
- data/sig/sketchup/loop.rbs +10 -0
- data/sig/sketchup/material.rbs +74 -0
- data/sig/sketchup/materials.rbs +22 -0
- data/sig/sketchup/materials_observer.rbs +10 -0
- data/sig/sketchup/menu.rbs +9 -0
- data/sig/sketchup/model.rbs +105 -0
- data/sig/sketchup/model_observer.rbs +23 -0
- data/sig/sketchup/options_manager.rbs +12 -0
- data/sig/sketchup/options_provider.rbs +23 -0
- data/sig/sketchup/options_provider_observer.rbs +5 -0
- data/sig/sketchup/overlay.rbs +21 -0
- data/sig/sketchup/overlays_manager.rbs +10 -0
- data/sig/sketchup/page.rbs +55 -0
- data/sig/sketchup/pages.rbs +25 -0
- data/sig/sketchup/pages_observer.rbs +7 -0
- data/sig/sketchup/pick_helper.rbs +28 -0
- data/sig/sketchup/regional_settings.rbs +7 -0
- data/sig/sketchup/rendering_options.rbs +89 -0
- data/sig/sketchup/rendering_options_observer.rbs +5 -0
- data/sig/sketchup/section_plane.rbs +12 -0
- data/sig/sketchup/selection.rbs +31 -0
- data/sig/sketchup/selection_observer.rbs +8 -0
- data/sig/sketchup/set.rbs +15 -0
- data/sig/sketchup/shadow_info.rbs +18 -0
- data/sig/sketchup/shadow_info_observer.rbs +5 -0
- data/sig/sketchup/skp.rbs +5 -0
- data/sig/sketchup/snap.rbs +10 -0
- data/sig/sketchup/style.rbs +9 -0
- data/sig/sketchup/styles.rbs +21 -0
- data/sig/sketchup/text.rbs +22 -0
- data/sig/sketchup/texture.rbs +14 -0
- data/sig/sketchup/texture_writer.rbs +14 -0
- data/sig/sketchup/tool.rbs +45 -0
- data/sig/sketchup/tools.rbs +14 -0
- data/sig/sketchup/tools_observer.rbs +6 -0
- data/sig/sketchup/uv_helper.rbs +6 -0
- data/sig/sketchup/vertex.rbs +11 -0
- data/sig/sketchup/view.rbs +87 -0
- data/sig/sketchup/view_observer.rbs +6 -0
- data/sig/sketchup.rbs +137 -0
- data/sig/sketchup_extension.rbs +23 -0
- data/sig/string.rbs +5 -0
- data/sig/ui/command.rbs +20 -0
- data/sig/ui/html_dialog.rbs +29 -0
- data/sig/ui/notification.rbs +16 -0
- data/sig/ui/toolbar.rbs +18 -0
- data/sig/ui/web_dialog.rbs +38 -0
- data/sig/ui.rbs +66 -0
- metadata +204 -287
- data/ext/attribute_dictionaries.h +0 -8
- data/ext/attribute_dictionary.h +0 -8
- data/ext/behavior.h +0 -8
- data/ext/color.h +0 -8
- data/ext/component_definition.h +0 -8
- data/ext/component_instance.h +0 -8
- data/ext/definition_list.h +0 -8
- data/ext/drawing_element.h +0 -8
- data/ext/entities.h +0 -8
- data/ext/entity.h +0 -8
- data/ext/material.h +0 -8
- data/ext/materials.h +0 -8
- data/ext/model.h +0 -8
- data/ext/not_implemented.c +0 -88
- data/ext/not_implemented.h +0 -20
- data/ext/sketchup.h +0 -9
- data/ext/texture.h +0 -8
- data/ext/typed_value.c +0 -84
- data/ext/typed_value.h +0 -11
- data/ext/utils.h +0 -111
- data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Frameworks/libCommonGeometry.dylib +0 -0
- data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Frameworks/libCommonGeoutils.dylib +0 -0
- data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Frameworks/libCommonImage.dylib +0 -4
- data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Frameworks/libCommonPreferences.dylib +0 -0
- data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Frameworks/libCommonUnits.dylib +0 -0
- data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Frameworks/libCommonUtils.dylib +0 -0
- data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Frameworks/libCommonZip.dylib +0 -0
- data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/application/application.h +0 -36
- data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/application/model.h +0 -59
- data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/application/overlay.h +0 -262
- data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/application/ruby_api.h +0 -118
- data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/color.h +0 -107
- data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/common.h +0 -178
- data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/defs.h +0 -19
- data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/extension_license.h +0 -70
- data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/geometry/bounding_box.h +0 -34
- data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/geometry/plane3d.h +0 -153
- data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/geometry/point2d.h +0 -96
- data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/geometry/point3d.h +0 -98
- data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/geometry/ray3d.h +0 -64
- data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/geometry/transformation.h +0 -321
- data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/geometry/transformation2d.h +0 -163
- data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/geometry/vector2d.h +0 -235
- data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/geometry/vector3d.h +0 -285
- data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/geometry.h +0 -154
- data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/import_export/modelexporterplugin.h +0 -165
- data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/import_export/modelimporterplugin.h +0 -187
- data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/import_export/pluginprogresscallback.h +0 -84
- data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/initialize.h +0 -43
- data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/length_formatter.h +0 -424
- data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/model/arccurve.h +0 -244
- data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/model/arrow_type.h +0 -17
- data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/model/attribute_dictionary.h +0 -161
- data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/model/axes.h +0 -242
- data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/model/camera.h +0 -398
- data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/model/classification_attribute.h +0 -89
- data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/model/classification_info.h +0 -125
- data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/model/classifications.h +0 -86
- data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/model/component_definition.h +0 -629
- data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/model/component_definition_snap_to_behavior_private.h +0 -46
- data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/model/component_instance.h +0 -344
- data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/model/curve.h +0 -143
- data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/model/defs.h +0 -147
- data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/model/dimension.h +0 -224
- data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/model/dimension_linear.h +0 -421
- data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/model/dimension_radial.h +0 -194
- data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/model/dimension_style.h +0 -253
- data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/model/drawing_element.h +0 -198
- data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/model/dynamic_component_attribute.h +0 -92
- data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/model/dynamic_component_info.h +0 -70
- data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/model/edge.h +0 -271
- data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/model/edge_use.h +0 -214
- data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/model/entities.h +0 -879
- data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/model/entity.h +0 -189
- data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/model/entity_list.h +0 -80
- data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/model/entity_list_iterator.h +0 -90
- data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/model/environment.h +0 -382
- data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/model/environments.h +0 -133
- data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/model/face.h +0 -702
- data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/model/font.h +0 -138
- data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/model/geometry.h +0 -20
- data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/model/geometry_input.h +0 -695
- data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/model/group.h +0 -245
- data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/model/guide_line.h +0 -155
- data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/model/guide_point.h +0 -153
- data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/model/image.h +0 -289
- data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/model/image_rep.h +0 -275
- data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/model/instancepath.h +0 -266
- data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/model/layer.h +0 -265
- data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/model/layer_folder.h +0 -301
- data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/model/line_style.h +0 -211
- data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/model/line_styles.h +0 -81
- data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/model/location.h +0 -65
- data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/model/loop.h +0 -182
- data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/model/material.h +0 -797
- data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/model/mesh_helper.h +0 -187
- data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/model/model.h +0 -1826
- data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/model/model_entity_type_private.h +0 -44
- data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/model/model_version.h +0 -49
- data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/model/opening.h +0 -72
- data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/model/options_manager.h +0 -79
- data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/model/options_provider.h +0 -166
- data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/model/polyline3d.h +0 -140
- data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/model/rendering_options.h +0 -180
- data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/model/scene.h +0 -1016
- data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/model/schema.h +0 -56
- data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/model/schema_type.h +0 -26
- data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/model/section_plane.h +0 -212
- data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/model/selection.h +0 -156
- data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/model/shadow_info.h +0 -147
- data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/model/skp.h +0 -45
- data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/model/snap.h +0 -183
- data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/model/space.h +0 -26
- data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/model/style.h +0 -303
- data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/model/styles.h +0 -192
- data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/model/text.h +0 -392
- data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/model/texture.h +0 -380
- data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/model/texture_writer.h +0 -280
- data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/model/typed_value.h +0 -390
- data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/model/uv_helper.h +0 -79
- data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/model/vertex.h +0 -154
- data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/sketchup.h +0 -125
- data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/sketchup_info.h +0 -65
- data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/slapi.h +0 -16
- data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/transformation.h +0 -16
- data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/unicodestring.h +0 -239
- data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/utils/math_helpers.h +0 -124
- data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Resources/Info.plist +0 -50
- data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/SketchUpAPI +0 -0
- data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/_CodeSignature/CodeResources +0 -891
- data/sketchup-sdk-win/binaries/layout/x64/LayOutAPI.dll +0 -0
- data/sketchup-sdk-win/binaries/layout/x64/LayOutAPI.lib +0 -0
- data/sketchup-sdk-win/binaries/layout/x64/LayOutControllers.dll +0 -0
- data/sketchup-sdk-win/binaries/layout/x64/LayOutModel.dll +0 -0
- data/sketchup-sdk-win/binaries/layout/x64/LayOutRTF.dll +0 -0
- data/sketchup-sdk-win/binaries/layout/x64/LayOutUtils.dll +0 -0
- data/sketchup-sdk-win/binaries/layout/x64/LayOutView.dll +0 -4
- data/sketchup-sdk-win/binaries/layout/x64/SketchUpCommonPreferences.dll +0 -0
- data/sketchup-sdk-win/binaries/layout/x64/SketchUpViewerAPI.dll +0 -0
- data/sketchup-sdk-win/binaries/layout/x64/SketchUpViewerAPI.lib +0 -0
- data/sketchup-sdk-win/binaries/layout/x64/pdflib.dll +0 -0
- data/sketchup-sdk-win/binaries/sketchup/x64/SketchUpAPI.dll +0 -0
- data/sketchup-sdk-win/binaries/sketchup/x64/SketchUpAPI.lib +0 -0
- data/sketchup-sdk-win/binaries/sketchup/x64/SketchUpCommonPreferences.dll +0 -0
- data/sketchup-sdk-win/binaries/sketchup/x64/sketchup.lib +0 -0
- data/sketchup-sdk-win/headers/LayOutAPI/application/application.h +0 -117
- data/sketchup-sdk-win/headers/LayOutAPI/common.h +0 -22
- data/sketchup-sdk-win/headers/LayOutAPI/geometry/geometry.h +0 -78
- data/sketchup-sdk-win/headers/LayOutAPI/initialize.h +0 -36
- data/sketchup-sdk-win/headers/LayOutAPI/layout.h +0 -49
- data/sketchup-sdk-win/headers/LayOutAPI/model/angulardimension.h +0 -468
- data/sketchup-sdk-win/headers/LayOutAPI/model/autotextdefinition.h +0 -569
- data/sketchup-sdk-win/headers/LayOutAPI/model/autotextdefinitionlist.h +0 -79
- data/sketchup-sdk-win/headers/LayOutAPI/model/connectionpoint.h +0 -107
- data/sketchup-sdk-win/headers/LayOutAPI/model/defs.h +0 -42
- data/sketchup-sdk-win/headers/LayOutAPI/model/dictionary.h +0 -120
- data/sketchup-sdk-win/headers/LayOutAPI/model/document.h +0 -937
- data/sketchup-sdk-win/headers/LayOutAPI/model/documentexportoptions.h +0 -78
- data/sketchup-sdk-win/headers/LayOutAPI/model/ellipse.h +0 -78
- data/sketchup-sdk-win/headers/LayOutAPI/model/entity.h +0 -402
- data/sketchup-sdk-win/headers/LayOutAPI/model/entityiterator.h +0 -49
- data/sketchup-sdk-win/headers/LayOutAPI/model/entitylist.h +0 -114
- data/sketchup-sdk-win/headers/LayOutAPI/model/formattedtext.h +0 -397
- data/sketchup-sdk-win/headers/LayOutAPI/model/grid.h +0 -251
- data/sketchup-sdk-win/headers/LayOutAPI/model/group.h +0 -244
- data/sketchup-sdk-win/headers/LayOutAPI/model/image.h +0 -146
- data/sketchup-sdk-win/headers/LayOutAPI/model/imagerep.h +0 -109
- data/sketchup-sdk-win/headers/LayOutAPI/model/label.h +0 -332
- data/sketchup-sdk-win/headers/LayOutAPI/model/layer.h +0 -207
- data/sketchup-sdk-win/headers/LayOutAPI/model/layerinstance.h +0 -117
- data/sketchup-sdk-win/headers/LayOutAPI/model/layerlist.h +0 -69
- data/sketchup-sdk-win/headers/LayOutAPI/model/lineardimension.h +0 -508
- data/sketchup-sdk-win/headers/LayOutAPI/model/page.h +0 -331
- data/sketchup-sdk-win/headers/LayOutAPI/model/pageinfo.h +0 -372
- data/sketchup-sdk-win/headers/LayOutAPI/model/pagelist.h +0 -81
- data/sketchup-sdk-win/headers/LayOutAPI/model/path.h +0 -464
- data/sketchup-sdk-win/headers/LayOutAPI/model/rectangle.h +0 -240
- data/sketchup-sdk-win/headers/LayOutAPI/model/referenceentity.h +0 -120
- data/sketchup-sdk-win/headers/LayOutAPI/model/sketchupmodel.h +0 -681
- data/sketchup-sdk-win/headers/LayOutAPI/model/style.h +0 -1116
- data/sketchup-sdk-win/headers/LayOutAPI/model/table.h +0 -472
- data/sketchup-sdk-win/headers/LayOutAPI/model/typed_value.h +0 -180
- data/sketchup-sdk-win/headers/SketchUpAPI/application/application.h +0 -36
- data/sketchup-sdk-win/headers/SketchUpAPI/application/model.h +0 -59
- data/sketchup-sdk-win/headers/SketchUpAPI/application/overlay.h +0 -262
- data/sketchup-sdk-win/headers/SketchUpAPI/application/ruby_api.h +0 -118
- data/sketchup-sdk-win/headers/SketchUpAPI/color.h +0 -107
- data/sketchup-sdk-win/headers/SketchUpAPI/common.h +0 -178
- data/sketchup-sdk-win/headers/SketchUpAPI/defs.h +0 -19
- data/sketchup-sdk-win/headers/SketchUpAPI/extension_license.h +0 -70
- data/sketchup-sdk-win/headers/SketchUpAPI/geometry/bounding_box.h +0 -34
- data/sketchup-sdk-win/headers/SketchUpAPI/geometry/plane3d.h +0 -153
- data/sketchup-sdk-win/headers/SketchUpAPI/geometry/point2d.h +0 -96
- data/sketchup-sdk-win/headers/SketchUpAPI/geometry/point3d.h +0 -98
- data/sketchup-sdk-win/headers/SketchUpAPI/geometry/ray3d.h +0 -64
- data/sketchup-sdk-win/headers/SketchUpAPI/geometry/transformation.h +0 -321
- data/sketchup-sdk-win/headers/SketchUpAPI/geometry/transformation2d.h +0 -163
- data/sketchup-sdk-win/headers/SketchUpAPI/geometry/vector2d.h +0 -235
- data/sketchup-sdk-win/headers/SketchUpAPI/geometry/vector3d.h +0 -285
- data/sketchup-sdk-win/headers/SketchUpAPI/geometry.h +0 -154
- data/sketchup-sdk-win/headers/SketchUpAPI/import_export/modelexporterplugin.h +0 -165
- data/sketchup-sdk-win/headers/SketchUpAPI/import_export/modelimporterplugin.h +0 -187
- data/sketchup-sdk-win/headers/SketchUpAPI/import_export/pluginprogresscallback.h +0 -84
- data/sketchup-sdk-win/headers/SketchUpAPI/initialize.h +0 -43
- data/sketchup-sdk-win/headers/SketchUpAPI/length_formatter.h +0 -424
- data/sketchup-sdk-win/headers/SketchUpAPI/model/arccurve.h +0 -244
- data/sketchup-sdk-win/headers/SketchUpAPI/model/arrow_type.h +0 -17
- data/sketchup-sdk-win/headers/SketchUpAPI/model/attribute_dictionary.h +0 -161
- data/sketchup-sdk-win/headers/SketchUpAPI/model/axes.h +0 -242
- data/sketchup-sdk-win/headers/SketchUpAPI/model/camera.h +0 -398
- data/sketchup-sdk-win/headers/SketchUpAPI/model/classification_attribute.h +0 -89
- data/sketchup-sdk-win/headers/SketchUpAPI/model/classification_info.h +0 -125
- data/sketchup-sdk-win/headers/SketchUpAPI/model/classifications.h +0 -86
- data/sketchup-sdk-win/headers/SketchUpAPI/model/component_definition.h +0 -629
- data/sketchup-sdk-win/headers/SketchUpAPI/model/component_definition_snap_to_behavior_private.h +0 -46
- data/sketchup-sdk-win/headers/SketchUpAPI/model/component_instance.h +0 -344
- data/sketchup-sdk-win/headers/SketchUpAPI/model/curve.h +0 -143
- data/sketchup-sdk-win/headers/SketchUpAPI/model/defs.h +0 -147
- data/sketchup-sdk-win/headers/SketchUpAPI/model/dimension.h +0 -224
- data/sketchup-sdk-win/headers/SketchUpAPI/model/dimension_linear.h +0 -421
- data/sketchup-sdk-win/headers/SketchUpAPI/model/dimension_radial.h +0 -194
- data/sketchup-sdk-win/headers/SketchUpAPI/model/dimension_style.h +0 -253
- data/sketchup-sdk-win/headers/SketchUpAPI/model/drawing_element.h +0 -198
- data/sketchup-sdk-win/headers/SketchUpAPI/model/dynamic_component_attribute.h +0 -92
- data/sketchup-sdk-win/headers/SketchUpAPI/model/dynamic_component_info.h +0 -70
- data/sketchup-sdk-win/headers/SketchUpAPI/model/edge.h +0 -271
- data/sketchup-sdk-win/headers/SketchUpAPI/model/edge_use.h +0 -214
- data/sketchup-sdk-win/headers/SketchUpAPI/model/entities.h +0 -879
- data/sketchup-sdk-win/headers/SketchUpAPI/model/entity.h +0 -189
- data/sketchup-sdk-win/headers/SketchUpAPI/model/entity_list.h +0 -80
- data/sketchup-sdk-win/headers/SketchUpAPI/model/entity_list_iterator.h +0 -90
- data/sketchup-sdk-win/headers/SketchUpAPI/model/environment.h +0 -382
- data/sketchup-sdk-win/headers/SketchUpAPI/model/environments.h +0 -133
- data/sketchup-sdk-win/headers/SketchUpAPI/model/face.h +0 -702
- data/sketchup-sdk-win/headers/SketchUpAPI/model/font.h +0 -138
- data/sketchup-sdk-win/headers/SketchUpAPI/model/geometry.h +0 -20
- data/sketchup-sdk-win/headers/SketchUpAPI/model/geometry_input.h +0 -695
- data/sketchup-sdk-win/headers/SketchUpAPI/model/group.h +0 -245
- data/sketchup-sdk-win/headers/SketchUpAPI/model/guide_line.h +0 -155
- data/sketchup-sdk-win/headers/SketchUpAPI/model/guide_point.h +0 -153
- data/sketchup-sdk-win/headers/SketchUpAPI/model/image.h +0 -289
- data/sketchup-sdk-win/headers/SketchUpAPI/model/image_rep.h +0 -275
- data/sketchup-sdk-win/headers/SketchUpAPI/model/instancepath.h +0 -266
- data/sketchup-sdk-win/headers/SketchUpAPI/model/layer.h +0 -265
- data/sketchup-sdk-win/headers/SketchUpAPI/model/layer_folder.h +0 -301
- data/sketchup-sdk-win/headers/SketchUpAPI/model/line_style.h +0 -211
- data/sketchup-sdk-win/headers/SketchUpAPI/model/line_styles.h +0 -81
- data/sketchup-sdk-win/headers/SketchUpAPI/model/location.h +0 -65
- data/sketchup-sdk-win/headers/SketchUpAPI/model/loop.h +0 -182
- data/sketchup-sdk-win/headers/SketchUpAPI/model/material.h +0 -797
- data/sketchup-sdk-win/headers/SketchUpAPI/model/mesh_helper.h +0 -187
- data/sketchup-sdk-win/headers/SketchUpAPI/model/model.h +0 -1826
- data/sketchup-sdk-win/headers/SketchUpAPI/model/model_entity_type_private.h +0 -44
- data/sketchup-sdk-win/headers/SketchUpAPI/model/model_version.h +0 -49
- data/sketchup-sdk-win/headers/SketchUpAPI/model/opening.h +0 -72
- data/sketchup-sdk-win/headers/SketchUpAPI/model/options_manager.h +0 -79
- data/sketchup-sdk-win/headers/SketchUpAPI/model/options_provider.h +0 -166
- data/sketchup-sdk-win/headers/SketchUpAPI/model/polyline3d.h +0 -140
- data/sketchup-sdk-win/headers/SketchUpAPI/model/rendering_options.h +0 -180
- data/sketchup-sdk-win/headers/SketchUpAPI/model/scene.h +0 -1016
- data/sketchup-sdk-win/headers/SketchUpAPI/model/schema.h +0 -56
- data/sketchup-sdk-win/headers/SketchUpAPI/model/schema_type.h +0 -26
- data/sketchup-sdk-win/headers/SketchUpAPI/model/section_plane.h +0 -212
- data/sketchup-sdk-win/headers/SketchUpAPI/model/selection.h +0 -156
- data/sketchup-sdk-win/headers/SketchUpAPI/model/shadow_info.h +0 -147
- data/sketchup-sdk-win/headers/SketchUpAPI/model/skp.h +0 -45
- data/sketchup-sdk-win/headers/SketchUpAPI/model/snap.h +0 -183
- data/sketchup-sdk-win/headers/SketchUpAPI/model/space.h +0 -26
- data/sketchup-sdk-win/headers/SketchUpAPI/model/style.h +0 -303
- data/sketchup-sdk-win/headers/SketchUpAPI/model/styles.h +0 -192
- data/sketchup-sdk-win/headers/SketchUpAPI/model/text.h +0 -392
- data/sketchup-sdk-win/headers/SketchUpAPI/model/texture.h +0 -380
- data/sketchup-sdk-win/headers/SketchUpAPI/model/texture_writer.h +0 -280
- data/sketchup-sdk-win/headers/SketchUpAPI/model/typed_value.h +0 -390
- data/sketchup-sdk-win/headers/SketchUpAPI/model/uv_helper.h +0 -79
- data/sketchup-sdk-win/headers/SketchUpAPI/model/vertex.h +0 -154
- data/sketchup-sdk-win/headers/SketchUpAPI/sketchup.h +0 -125
- data/sketchup-sdk-win/headers/SketchUpAPI/sketchup_info.h +0 -65
- data/sketchup-sdk-win/headers/SketchUpAPI/slapi.h +0 -16
- data/sketchup-sdk-win/headers/SketchUpAPI/transformation.h +0 -16
- data/sketchup-sdk-win/headers/SketchUpAPI/unicodestring.h +0 -239
- data/sketchup-sdk-win/headers/SketchUpAPI/utils/math_helpers.h +0 -124
|
@@ -1,382 +0,0 @@
|
|
|
1
|
-
// Copyright 2024-2025 Trimble Inc. All Rights Reserved.
|
|
2
|
-
|
|
3
|
-
/**
|
|
4
|
-
* @file
|
|
5
|
-
* @brief Interfaces for SUEnvironmentRef.
|
|
6
|
-
*/
|
|
7
|
-
#ifndef SKETCHUP_MODEL_ENVIRONMENT_H_
|
|
8
|
-
#define SKETCHUP_MODEL_ENVIRONMENT_H_
|
|
9
|
-
|
|
10
|
-
#include <SketchUpAPI/common.h>
|
|
11
|
-
#include <SketchUpAPI/model/defs.h>
|
|
12
|
-
|
|
13
|
-
#ifdef __cplusplus
|
|
14
|
-
extern "C" {
|
|
15
|
-
#endif
|
|
16
|
-
|
|
17
|
-
/**
|
|
18
|
-
@struct SUEnvironmentRef
|
|
19
|
-
@brief References an environment, which enables sky boxes and image-based lighting.
|
|
20
|
-
@since SketchUp 2025.0, API 13.0
|
|
21
|
-
*/
|
|
22
|
-
|
|
23
|
-
/**
|
|
24
|
-
@brief Converts from an \ref SUEnvironmentRef to an \ref SUEntityRef.
|
|
25
|
-
This is essentially an upcast operation.
|
|
26
|
-
@since SketchUp 2025.0, API 13.0
|
|
27
|
-
@param[in] environment The given environment reference.
|
|
28
|
-
@related SUEnvironmentRef
|
|
29
|
-
@return
|
|
30
|
-
- The converted \ref SUEntityRef if \p environment is a valid object
|
|
31
|
-
- If not, the returned reference will be invalid
|
|
32
|
-
*/
|
|
33
|
-
SU_EXPORT SUEntityRef SUEnvironmentToEntity(SUEnvironmentRef environment);
|
|
34
|
-
|
|
35
|
-
/**
|
|
36
|
-
@brief Converts from an \ref SUEntityRef to an SUEnvironmentRef.
|
|
37
|
-
This is essentially a downcast operation so the given \ref SUEntityRef
|
|
38
|
-
must be convertible to an \ref SUEnvironmentRef.
|
|
39
|
-
@since SketchUp 2025.0, API 13.0
|
|
40
|
-
@param[in] entity The given entity reference.
|
|
41
|
-
@related SUEnvironmentRef
|
|
42
|
-
@return
|
|
43
|
-
- The converted \ref SUEnvironmentRef if the downcast operation succeeds
|
|
44
|
-
- If not, the returned reference will be invalid
|
|
45
|
-
*/
|
|
46
|
-
SU_EXPORT SUEnvironmentRef SUEnvironmentFromEntity(SUEntityRef entity);
|
|
47
|
-
|
|
48
|
-
/**
|
|
49
|
-
* @brief Creates an environment object from an SKE, HDR, or EXR file.
|
|
50
|
-
* The image or SKE file will be loaded into the environment's skydome as a cubemap.
|
|
51
|
-
* @since SketchUp 2025.0, API 13.0
|
|
52
|
-
* @param[out] environment The created environment object.
|
|
53
|
-
* @param[in] file_path The path to the SKE, HDR, or EXR file.
|
|
54
|
-
* @param[in] name The name of the environment. If empty, the name will default to the name
|
|
55
|
-
* stored in the SKE file (if available), or to the file name.
|
|
56
|
-
* @related SUEnvironmentRef
|
|
57
|
-
* @return
|
|
58
|
-
* - \ref SU_ERROR_NONE on success
|
|
59
|
-
* - \ref SU_ERROR_OVERWRITE_VALID if \p environment already references a valid object
|
|
60
|
-
* - \ref SU_ERROR_NULL_POINTER_INPUT if \p file_path , \p name , or \p environment is `NULL`
|
|
61
|
-
* - \ref SU_ERROR_INVALID_ARGUMENT if \p file_path is an empty string
|
|
62
|
-
* - \ref SU_ERROR_SERIALIZATION if the \p environment could not be created from the file at \p
|
|
63
|
-
* file_path
|
|
64
|
-
*
|
|
65
|
-
*/
|
|
66
|
-
SU_RESULT SUEnvironmentCreateFromFile(
|
|
67
|
-
SUEnvironmentRef* environment, const char* file_path, const char* name);
|
|
68
|
-
|
|
69
|
-
/**
|
|
70
|
-
* @brief Writes an environment to an SKE file.
|
|
71
|
-
* @since SketchUp 2025.0, API 13.0
|
|
72
|
-
* @param[in] environment The environment object to write to file.
|
|
73
|
-
* @param[in] file_path The location to save the environment to. Assumed to be UTF-8 encoded.
|
|
74
|
-
* @related SUEnvironmentRef
|
|
75
|
-
* @return
|
|
76
|
-
* - \ref SU_ERROR_NONE on success
|
|
77
|
-
* - \ref SU_ERROR_INVALID_INPUT if \p environment is not a valid object
|
|
78
|
-
* - \ref SU_ERROR_NULL_POINTER_INPUT if \p file_path , \p name , or \p environment is `NULL`
|
|
79
|
-
* - \ref SU_ERROR_INVALID_ARGUMENT if \p file_path or \p name is an empty string
|
|
80
|
-
* - \ref SU_ERROR_SERIALIZATION if the \p environment could not be written to \p file_path
|
|
81
|
-
*
|
|
82
|
-
*/
|
|
83
|
-
SU_RESULT SUEnvironmentWriteToFile(SUEnvironmentRef environment, const char* file_path);
|
|
84
|
-
|
|
85
|
-
/**
|
|
86
|
-
@brief Releases an environment object and its associated objects.
|
|
87
|
-
@note An environment object retrieved through \p SUEnvironmentsRef methods should not be released as
|
|
88
|
-
it is owned by the model.
|
|
89
|
-
@since SketchUp 2025.0, API 13.0
|
|
90
|
-
@param[in,out] environment The environment object.
|
|
91
|
-
@related SUEnvironmentRef
|
|
92
|
-
@return
|
|
93
|
-
- \ref SU_ERROR_NONE on success
|
|
94
|
-
- \ref SU_ERROR_NULL_POINTER_INPUT if \p environment is `NULL`
|
|
95
|
-
- \ref SU_ERROR_INVALID_INPUT if \p environment does not reference a valid object
|
|
96
|
-
*/
|
|
97
|
-
SU_RESULT SUEnvironmentRelease(SUEnvironmentRef* environment);
|
|
98
|
-
|
|
99
|
-
/**
|
|
100
|
-
@brief Sets the name of a environment object.
|
|
101
|
-
@since SketchUp 2025.0, API 13.0
|
|
102
|
-
@param[in] environment The environment object.
|
|
103
|
-
@param[in] name The name string to set the environment object.
|
|
104
|
-
Assumed to be UTF-8 encoded.
|
|
105
|
-
@related SUEnvironmentRef
|
|
106
|
-
@return
|
|
107
|
-
- \ref SU_ERROR_NONE on success
|
|
108
|
-
- \ref SU_ERROR_INVALID_INPUT if \p environment is not a valid object
|
|
109
|
-
- \ref SU_ERROR_NULL_POINTER_INPUT if \p name is `NULL`
|
|
110
|
-
- \ref SU_ERROR_INVALID_ARGUMENT if \p name is an empty string or if no manager is associated with
|
|
111
|
-
the environment
|
|
112
|
-
- \ref SU_ERROR_DUPLICATE if \p name is a duplicate of another environment
|
|
113
|
-
*/
|
|
114
|
-
SU_RESULT SUEnvironmentSetName(SUEnvironmentRef environment, const char* name);
|
|
115
|
-
|
|
116
|
-
/**
|
|
117
|
-
@brief Retrieves the name of a environment object.
|
|
118
|
-
@since SketchUp 2025.0, API 13.0
|
|
119
|
-
@param[in] environment The environment object.
|
|
120
|
-
@param[out] name The name retrieved.
|
|
121
|
-
@related SUEnvironmentRef
|
|
122
|
-
@return
|
|
123
|
-
- \ref SU_ERROR_NONE on success
|
|
124
|
-
- \ref SU_ERROR_INVALID_INPUT if \p environment is not a valid object
|
|
125
|
-
- \ref SU_ERROR_NULL_POINTER_OUTPUT if \p name is `NULL`
|
|
126
|
-
- \ref SU_ERROR_INVALID_OUTPUT if \p name does not point to a valid \ref
|
|
127
|
-
SUStringRef object
|
|
128
|
-
*/
|
|
129
|
-
SU_RESULT SUEnvironmentGetName(SUEnvironmentRef environment, SUStringRef* name);
|
|
130
|
-
|
|
131
|
-
/**
|
|
132
|
-
@brief Sets the description of a environment object.
|
|
133
|
-
@since SketchUp 2025, API 13.0
|
|
134
|
-
@param[in] environment The environment object.
|
|
135
|
-
@param[in] desc The description to be set.
|
|
136
|
-
Assumed to be UTF-8 encoded.
|
|
137
|
-
@related SUEnvironmentRef
|
|
138
|
-
@return
|
|
139
|
-
- \ref SU_ERROR_NONE on success
|
|
140
|
-
- \ref SU_ERROR_INVALID_INPUT if \p environment is not a valid object
|
|
141
|
-
- \ref SU_ERROR_NULL_POINTER_INPUT if \p desc is `NULL`
|
|
142
|
-
*/
|
|
143
|
-
SU_RESULT SUEnvironmentSetDescription(SUEnvironmentRef environment, const char* desc);
|
|
144
|
-
|
|
145
|
-
/**
|
|
146
|
-
@brief Retrieves the description of a environment object.
|
|
147
|
-
@since SketchUp 2025.0, API 13.0
|
|
148
|
-
@param[in] environment The environment object.
|
|
149
|
-
@param[out] desc The description retrieved.
|
|
150
|
-
@related SUEnvironmentRef
|
|
151
|
-
@return
|
|
152
|
-
- \ref SU_ERROR_NONE on success
|
|
153
|
-
- \ref SU_ERROR_INVALID_INPUT if \p environment is not a valid object
|
|
154
|
-
- \ref SU_ERROR_NULL_POINTER_OUTPUT if \p desc is `NULL`
|
|
155
|
-
- \ref SU_ERROR_INVALID_OUTPUT if \p desc does not point to a valid \ref SUStringRef object
|
|
156
|
-
*/
|
|
157
|
-
SU_RESULT SUEnvironmentGetDescription(SUEnvironmentRef environment, SUStringRef* desc);
|
|
158
|
-
|
|
159
|
-
/**
|
|
160
|
-
* @brief Sets the the environment to be used as a skydome.
|
|
161
|
-
* @since SketchUp 2025.0, API 13.0
|
|
162
|
-
* @param[in] environment The environment object.
|
|
163
|
-
* @param[in] skydome The flag to set on the environment object.
|
|
164
|
-
* @related SUEnvironmentRef
|
|
165
|
-
* @return
|
|
166
|
-
* - \ref SU_ERROR_NONE on success
|
|
167
|
-
* - \ref SU_ERROR_INVALID_INPUT if \p environment is not a valid object
|
|
168
|
-
*/
|
|
169
|
-
SU_RESULT SUEnvironmentSetUseAsSkydome(SUEnvironmentRef environment, bool skydome);
|
|
170
|
-
|
|
171
|
-
/**
|
|
172
|
-
* @brief Retrieves whether the environment is used as a skydome.
|
|
173
|
-
* @since SketchUp 2025.0, API 13.0
|
|
174
|
-
* @param[in] environment The environment object.
|
|
175
|
-
* @param[out] skydome The flag retrieved.
|
|
176
|
-
* @related SUEnvironmentRef
|
|
177
|
-
* @return
|
|
178
|
-
* - \ref SU_ERROR_NONE on success
|
|
179
|
-
* - \ref SU_ERROR_INVALID_INPUT if \p environment is not a valid object
|
|
180
|
-
* - \ref SU_ERROR_NULL_POINTER_OUTPUT if skydome is `NULL`
|
|
181
|
-
*/
|
|
182
|
-
SU_RESULT SUEnvironmentGetUseAsSkydome(SUEnvironmentRef environment, bool* skydome);
|
|
183
|
-
|
|
184
|
-
/**
|
|
185
|
-
* @brief Sets the the environment to be used for reflections.
|
|
186
|
-
* @since SketchUp 2025.0, API 13.0
|
|
187
|
-
* @param[in] environment The environment object.
|
|
188
|
-
* @param[in] reflections The flag to set the environment object.
|
|
189
|
-
* @related SUEnvironmentRef
|
|
190
|
-
* @return
|
|
191
|
-
* - \ref SU_ERROR_NONE on success
|
|
192
|
-
* - \ref SU_ERROR_INVALID_INPUT if \p environment is not a valid object
|
|
193
|
-
*/
|
|
194
|
-
SU_RESULT SUEnvironmentSetUseForReflections(SUEnvironmentRef environment, bool reflections);
|
|
195
|
-
|
|
196
|
-
/**
|
|
197
|
-
* @brief Retrieves whether the environment is used for reflections.
|
|
198
|
-
* @since SketchUp 2025.0, API 13.0
|
|
199
|
-
* @param[in] environment The environment object.
|
|
200
|
-
* @param[out] reflections The flag retrieved.
|
|
201
|
-
* @related SUEnvironmentRef
|
|
202
|
-
* @return
|
|
203
|
-
* - \ref SU_ERROR_NONE on success
|
|
204
|
-
* - \ref SU_ERROR_INVALID_INPUT if \p environment is not a valid object
|
|
205
|
-
* - \ref SU_ERROR_NULL_POINTER_OUTPUT if \p reflections is `NULL`
|
|
206
|
-
*/
|
|
207
|
-
SU_RESULT SUEnvironmentGetUseForReflections(SUEnvironmentRef environment, bool* reflections);
|
|
208
|
-
|
|
209
|
-
/**
|
|
210
|
-
* @brief Sets the the environment image vertical rotation angle in degrees.
|
|
211
|
-
* @since SketchUp 2025.0, API 13.0
|
|
212
|
-
* @param[in] environment The environment object.
|
|
213
|
-
* @param[in] angle The angle to set the environment object, within the range `[0.0, 360.0)`
|
|
214
|
-
* @related SUEnvironmentRef
|
|
215
|
-
* @return
|
|
216
|
-
* - \ref SU_ERROR_NONE on success
|
|
217
|
-
* - \ref SU_ERROR_INVALID_INPUT if \p environment is not a valid object
|
|
218
|
-
* - \ref SU_ERROR_OUT_OF_RANGE if \p angle is not within the range `[0.0, 360.0)`
|
|
219
|
-
*/
|
|
220
|
-
SU_RESULT SUEnvironmentSetRotation(SUEnvironmentRef environment, double angle);
|
|
221
|
-
|
|
222
|
-
/**
|
|
223
|
-
* @brief Retrieves the environment image rotation in degrees.
|
|
224
|
-
* @since SketchUp 2025.0, API 13.0
|
|
225
|
-
* @param[in] environment The environment object.
|
|
226
|
-
* @param[out] angle The angle retrieved.
|
|
227
|
-
* @related SUEnvironmentRef
|
|
228
|
-
* @return
|
|
229
|
-
* - \ref SU_ERROR_NONE on success
|
|
230
|
-
* - \ref SU_ERROR_INVALID_INPUT if \p environment is not a valid object
|
|
231
|
-
* - \ref SU_ERROR_NULL_POINTER_OUTPUT if \p angle is `NULL`
|
|
232
|
-
*/
|
|
233
|
-
SU_RESULT SUEnvironmentGetRotation(SUEnvironmentRef environment, double* angle);
|
|
234
|
-
|
|
235
|
-
/**
|
|
236
|
-
* @brief Sets the skydome exposure to compensate for variations in HDR image exposure.
|
|
237
|
-
* The unaltered exposure level is `1.0`.
|
|
238
|
-
* @since SketchUp 2025.0, API 13.0
|
|
239
|
-
* @param[in] environment The environment object.
|
|
240
|
-
* @param[in] exposure The exposure to set the environment object, within the range [0.0, 20.0].
|
|
241
|
-
* @related SUEnvironmentRef
|
|
242
|
-
* @return
|
|
243
|
-
* - \ref SU_ERROR_NONE on success
|
|
244
|
-
* - \ref SU_ERROR_INVALID_INPUT if \p environment is not a valid object
|
|
245
|
-
* - \ref SU_ERROR_OUT_OF_RANGE if \p exposure is not within the range [0.0, 20.0]
|
|
246
|
-
*/
|
|
247
|
-
SU_RESULT SUEnvironmentSetSkydomeExposure(SUEnvironmentRef environment, double exposure);
|
|
248
|
-
|
|
249
|
-
/**
|
|
250
|
-
* @brief Retrieves the skydome exposure of the environment.
|
|
251
|
-
* @since SketchUp 2025.0, API 13.0
|
|
252
|
-
* @param[in] environment The environment object.
|
|
253
|
-
* @param[out] exposure The exposure retrieved.
|
|
254
|
-
* @related SUEnvironmentRef
|
|
255
|
-
* @return
|
|
256
|
-
* - \ref SU_ERROR_NONE on success
|
|
257
|
-
* - \ref SU_ERROR_INVALID_INPUT if \p environment is not a valid object
|
|
258
|
-
* - \ref SU_ERROR_NULL_POINTER_OUTPUT if \p exposure is `NULL`
|
|
259
|
-
*/
|
|
260
|
-
SU_RESULT SUEnvironmentGetSkydomeExposure(SUEnvironmentRef environment, double* exposure);
|
|
261
|
-
|
|
262
|
-
/**
|
|
263
|
-
* @brief Sets the reflection exposure of the environment.
|
|
264
|
-
* @since SketchUp 2025.0, API 13.0
|
|
265
|
-
* @param[in] environment The environment object.
|
|
266
|
-
* @param[in] exposure The exposure to set the environment object, within the range [0.0, 10.0].
|
|
267
|
-
* @related SUEnvironmentRef
|
|
268
|
-
* @return
|
|
269
|
-
* - \ref SU_ERROR_NONE on success
|
|
270
|
-
* - \ref SU_ERROR_INVALID_INPUT if \p environment is not a valid object
|
|
271
|
-
* - \ref SU_ERROR_OUT_OF_RANGE if \p exposure is not within the range [0.0, 10.0]
|
|
272
|
-
*/
|
|
273
|
-
SU_RESULT SUEnvironmentSetReflectionExposure(SUEnvironmentRef environment, double exposure);
|
|
274
|
-
|
|
275
|
-
/**
|
|
276
|
-
* @brief Retrieves the reflection exposure of the environment.
|
|
277
|
-
* @since SketchUp 2025.0, API 13.0
|
|
278
|
-
* @param[in] environment The environment object.
|
|
279
|
-
* @param[out] exposure The exposure retrieved.
|
|
280
|
-
* @related SUEnvironmentRef
|
|
281
|
-
* @return
|
|
282
|
-
* - \ref SU_ERROR_NONE on success
|
|
283
|
-
* - \ref SU_ERROR_INVALID_INPUT if \p environment is not a valid object
|
|
284
|
-
* - \ref SU_ERROR_NULL_POINTER_OUTPUT if \p exposure is `NULL`
|
|
285
|
-
*/
|
|
286
|
-
SU_RESULT SUEnvironmentGetReflectionExposure(SUEnvironmentRef environment, double* exposure);
|
|
287
|
-
|
|
288
|
-
/**
|
|
289
|
-
* @brief Sets the linked sun flag of the environment, enabling the shadow-casting light.
|
|
290
|
-
* Corresponding to "Set Sun Location" in the SketchUp UI.
|
|
291
|
-
* @since SketchUp 2025.0, API 13.0
|
|
292
|
-
* @param[in] environment The environment object.
|
|
293
|
-
* @param[in] linked_sun The flag to set the environment object.
|
|
294
|
-
* @related SUEnvironmentRef
|
|
295
|
-
* @return
|
|
296
|
-
* - \ref SU_ERROR_NONE on success
|
|
297
|
-
* - \ref SU_ERROR_INVALID_INPUT if \p environment is not a valid object
|
|
298
|
-
*/
|
|
299
|
-
SU_RESULT SUEnvironmentSetLinkedSun(SUEnvironmentRef environment, bool linked_sun);
|
|
300
|
-
|
|
301
|
-
/**
|
|
302
|
-
* @brief Retrieves whether the environment is linked sun is enabled.
|
|
303
|
-
* @since SketchUp 2025.0, API 13.0
|
|
304
|
-
* @param[in] environment The environment object.
|
|
305
|
-
* @param[out] linked_sun The flag retrieved.
|
|
306
|
-
* @related SUEnvironmentRef
|
|
307
|
-
* @return
|
|
308
|
-
* - \ref SU_ERROR_NONE on success
|
|
309
|
-
* - \ref SU_ERROR_INVALID_INPUT if \p environment is not a valid object
|
|
310
|
-
* - \ref SU_ERROR_NULL_POINTER_OUTPUT if \p linked_sun is `NULL`
|
|
311
|
-
*/
|
|
312
|
-
SU_RESULT SUEnvironmentGetLinkedSun(SUEnvironmentRef environment, bool* linked_sun);
|
|
313
|
-
|
|
314
|
-
/**
|
|
315
|
-
* @brief Sets the linked sun position in the environment.
|
|
316
|
-
* @since SketchUp 2025.0, API 13.0
|
|
317
|
-
* @param[in] environment The environment object.
|
|
318
|
-
* @param[in] position The position to set the environment object.
|
|
319
|
-
* `x` corresponds to longitude with the range `[0.0, 1.0]`,
|
|
320
|
-
* `y` corresponds to latitude with the range `[-1.0, 1.0]`.
|
|
321
|
-
* @related SUEnvironmentRef
|
|
322
|
-
* @return
|
|
323
|
-
* - \ref SU_ERROR_NONE on success
|
|
324
|
-
* - \ref SU_ERROR_INVALID_INPUT if \p environment is not a valid object
|
|
325
|
-
* - \ref SU_ERROR_NULL_POINTER_INPUT if \p position is `NULL`
|
|
326
|
-
* - \ref SU_ERROR_OUT_OF_RANGE if \p position has invalid x or y values
|
|
327
|
-
*/
|
|
328
|
-
SU_RESULT SUEnvironmentSetLinkedSunPosition(
|
|
329
|
-
SUEnvironmentRef environment, const struct SUPoint2D* position);
|
|
330
|
-
|
|
331
|
-
/**
|
|
332
|
-
* @brief Retrieves the linked sun position in the environment.
|
|
333
|
-
* @since SketchUp 2025.0, API 13.0
|
|
334
|
-
* @param[in] environment The environment object.
|
|
335
|
-
* @param[out] position The position retrieved.
|
|
336
|
-
* @related SUEnvironmentRef
|
|
337
|
-
* @return
|
|
338
|
-
* - \ref SU_ERROR_NONE on success
|
|
339
|
-
* - \ref SU_ERROR_INVALID_INPUT if \p environment is not a valid object
|
|
340
|
-
* - \ref SU_ERROR_NULL_POINTER_OUTPUT if \p position is `NULL`
|
|
341
|
-
*/
|
|
342
|
-
SU_RESULT SUEnvironmentGetLinkedSunPosition(
|
|
343
|
-
SUEnvironmentRef environment, struct SUPoint2D* position);
|
|
344
|
-
|
|
345
|
-
/**
|
|
346
|
-
* @brief Retrieves the thumbnail preview image for the given environment.
|
|
347
|
-
* @since SketchUp 2025.0, API 13.0
|
|
348
|
-
* @param[in] environment The environment object.
|
|
349
|
-
* @param[out] image The thumbnail to be retrieved.
|
|
350
|
-
* @related SUEnvironmentRef
|
|
351
|
-
* @return
|
|
352
|
-
* - \ref SU_ERROR_NONE on success
|
|
353
|
-
* - \ref SU_ERROR_INVALID_INPUT if \p environment is not a valid object
|
|
354
|
-
* - \ref SU_ERROR_NULL_POINTER_OUTPUT if \p image is NULL
|
|
355
|
-
* - \ref SU_ERROR_INVALID_OUTPUT if \p image does not point to a valid \ref
|
|
356
|
-
SUImageRepRef object
|
|
357
|
-
* - \ref SU_ERROR_NO_DATA if the thumbnail can not be retrieved
|
|
358
|
-
*/
|
|
359
|
-
SU_RESULT SUEnvironmentGetThumbnail(SUEnvironmentRef environment, SUImageRepRef* image);
|
|
360
|
-
|
|
361
|
-
/**
|
|
362
|
-
* @brief Writes the HDR image of the environment to a file in its original file type.
|
|
363
|
-
* @since SketchUp 2025.0, API 13.0
|
|
364
|
-
* @param[in] environment The environment object.
|
|
365
|
-
* @param[in] dir_path The directory path to save the HDR image to.
|
|
366
|
-
* @param[out] full_path_written The full path of the written file.
|
|
367
|
-
* @related SUEnvironmentRef
|
|
368
|
-
* @return
|
|
369
|
-
* - \ref SU_ERROR_NONE on success
|
|
370
|
-
* - \ref SU_ERROR_INVALID_INPUT if \p environment is not a valid object
|
|
371
|
-
* - \ref SU_ERROR_NULL_POINTER_INPUT if \p dir_path or \p full_path_written is `NULL`
|
|
372
|
-
* - \ref SU_ERROR_INVALID_ARGUMENT if \p dir_path is an empty string
|
|
373
|
-
* - \ref SU_ERROR_SERIALIZATION if the HDR image could not be written to \p dir_path
|
|
374
|
-
*/
|
|
375
|
-
SU_RESULT SUEnvironmentWriteHDRImageToFile(
|
|
376
|
-
SUEnvironmentRef environment, const char* dir_path, SUStringRef* full_path_written);
|
|
377
|
-
|
|
378
|
-
#ifdef __cplusplus
|
|
379
|
-
} // extern "C"
|
|
380
|
-
#endif
|
|
381
|
-
|
|
382
|
-
#endif // SKETCHUP_MODEL_ENVIRONMENT_H_
|
|
@@ -1,133 +0,0 @@
|
|
|
1
|
-
// Copyright 2024-2025 Trimble Inc. All Rights Reserved.
|
|
2
|
-
|
|
3
|
-
/**
|
|
4
|
-
* @file
|
|
5
|
-
* @brief Interfaces for SUEnvironmentsRef.
|
|
6
|
-
*/
|
|
7
|
-
#ifndef SKETCHUP_MODEL_ENVIRONMENTS_H_
|
|
8
|
-
#define SKETCHUP_MODEL_ENVIRONMENTS_H_
|
|
9
|
-
|
|
10
|
-
#include <SketchUpAPI/common.h>
|
|
11
|
-
#include <SketchUpAPI/model/defs.h>
|
|
12
|
-
|
|
13
|
-
#ifdef __cplusplus
|
|
14
|
-
extern "C" {
|
|
15
|
-
#endif
|
|
16
|
-
|
|
17
|
-
/**
|
|
18
|
-
@struct SUEnvironmentsRef
|
|
19
|
-
@brief References a container object for all environments in a model.
|
|
20
|
-
@since SketchUp 2025.0, API 13.0
|
|
21
|
-
*/
|
|
22
|
-
|
|
23
|
-
/**
|
|
24
|
-
* @brief Retrieves the number of environment objects in an environments object.
|
|
25
|
-
* @since SketchUp 2025.0, API 13.0
|
|
26
|
-
* @param[in] environments The environments object.
|
|
27
|
-
* @param[out] count The number of environments.
|
|
28
|
-
* @related SUEnvironmentsRef
|
|
29
|
-
* @return
|
|
30
|
-
* - \ref SU_ERROR_NONE on success
|
|
31
|
-
* - \ref SU_ERROR_INVALID_INPUT if \p environments is not a valid object
|
|
32
|
-
* - \ref SU_ERROR_NULL_POINTER_OUTPUT if \p count is `NULL`
|
|
33
|
-
*/
|
|
34
|
-
SU_RESULT SUEnvironmentsGetCount(SUEnvironmentsRef environments, size_t* count);
|
|
35
|
-
|
|
36
|
-
/**
|
|
37
|
-
* @brief Retrieves every environment associated with an environments object.
|
|
38
|
-
* @since SketchUp 2025.0, API 13.0
|
|
39
|
-
* @param[in] environments The environments object.
|
|
40
|
-
* @param[in] len The number of environments to retrieve.
|
|
41
|
-
* @param[out] items The environments retrieved.
|
|
42
|
-
* @param[out] count The number of environments retrieved.
|
|
43
|
-
* @related SUEnvironmentsRef
|
|
44
|
-
* @return
|
|
45
|
-
* - \ref SU_ERROR_NONE on success
|
|
46
|
-
* - \ref SU_ERROR_INVALID_INPUT if \p environments is not a valid object
|
|
47
|
-
* - \ref SU_ERROR_NULL_POINTER_OUTPUT if \p items or \p count is `NULL`
|
|
48
|
-
*/
|
|
49
|
-
SU_RESULT SUEnvironmentsGetAll(
|
|
50
|
-
SUEnvironmentsRef environments, size_t len, SUEnvironmentRef items[], size_t* count);
|
|
51
|
-
|
|
52
|
-
/**
|
|
53
|
-
* @brief Retrieves the currently selected environment.
|
|
54
|
-
* @since SketchUp 2025.0, API 13.0
|
|
55
|
-
* @param[in] environments The environments object.
|
|
56
|
-
* @param[out] environment The selected environment object.
|
|
57
|
-
* @related SUEnvironmentsRef
|
|
58
|
-
* @return
|
|
59
|
-
* - \ref SU_ERROR_NONE on success
|
|
60
|
-
* - \ref SU_ERROR_INVALID_INPUT if \p environments is not a valid object
|
|
61
|
-
* - \ref SU_ERROR_NULL_POINTER_OUTPUT if \p environment is `NULL`
|
|
62
|
-
* - \ref SU_ERROR_NO_DATA if no environment is currently selected
|
|
63
|
-
*/
|
|
64
|
-
SU_RESULT SUEnvironmentsGetSelectedEnvironment(
|
|
65
|
-
SUEnvironmentsRef environments, SUEnvironmentRef* environment);
|
|
66
|
-
|
|
67
|
-
/**
|
|
68
|
-
* @brief Retrieves an environment by persistent ID.
|
|
69
|
-
* @since SketchUp 2025.0, API 13.0
|
|
70
|
-
* @param[in] environments The environments object.
|
|
71
|
-
* @param[in] pid The PID of the environment object to retrieve.
|
|
72
|
-
* @param[out] environment The environment object with the given PID.
|
|
73
|
-
* @related SUEnvironmentsRef
|
|
74
|
-
* @return
|
|
75
|
-
* - \ref SU_ERROR_NONE on success
|
|
76
|
-
* - \ref SU_ERROR_INVALID_INPUT if \p environments is not a valid object
|
|
77
|
-
* - \ref SU_ERROR_NULL_POINTER_OUTPUT if \p environment is `NULL`
|
|
78
|
-
* - \ref SU_ERROR_NO_DATA if no environment can be found with the given PID
|
|
79
|
-
*/
|
|
80
|
-
SU_RESULT SUEnvironmentsGetEnvironmentByPersistentID(
|
|
81
|
-
SUEnvironmentsRef environments, uint64_t pid, SUEnvironmentRef* environment);
|
|
82
|
-
|
|
83
|
-
/**
|
|
84
|
-
* @brief Retrieves an environment by name.
|
|
85
|
-
* @since SketchUp 2025.0, API 13.0
|
|
86
|
-
* @param[in] environments The environments object.
|
|
87
|
-
* @param[in] name The name of the environment object to retrieve.
|
|
88
|
-
* @param[out] environment The environment object with the given name.
|
|
89
|
-
* @related SUEnvironmentsRef
|
|
90
|
-
* @return
|
|
91
|
-
* - \ref SU_ERROR_NONE on success
|
|
92
|
-
* - \ref SU_ERROR_INVALID_INPUT if \p environments is not a valid object
|
|
93
|
-
* - \ref SU_ERROR_NULL_POINTER_OUTPUT if \p environment is `NULL`
|
|
94
|
-
* - \ref SU_ERROR_NO_DATA if no environment can be found with the given name
|
|
95
|
-
*/
|
|
96
|
-
SU_RESULT SUEnvironmentsGetEnvironmentByName(
|
|
97
|
-
SUEnvironmentsRef environments, const char* name, SUEnvironmentRef* environment);
|
|
98
|
-
|
|
99
|
-
/**
|
|
100
|
-
* @brief Adds an environment to an environments object.
|
|
101
|
-
* @note This method transfers ownership of the \p environment to the model. Do not call
|
|
102
|
-
* \p SUEnvironmentRelease on \p environment after calling this method.
|
|
103
|
-
* @since SketchUp 2025.0, API 13.0
|
|
104
|
-
* @param[in] environments The environments object.
|
|
105
|
-
* @param[in] environment The environment object to add.
|
|
106
|
-
* @related SUEnvironmentsRef
|
|
107
|
-
* @return
|
|
108
|
-
* - \ref SU_ERROR_NONE on success
|
|
109
|
-
* - \ref SU_ERROR_INVALID_INPUT if \p environment or \p environments is not a valid object
|
|
110
|
-
* - \ref SU_ERROR_DUPLICATE if the \p environment is already part of the environments
|
|
111
|
-
* object
|
|
112
|
-
* - \ref SU_ERROR_INVALID_ARGUMENT if the environment name is already in use
|
|
113
|
-
*/
|
|
114
|
-
SU_RESULT SUEnvironmentsAdd(SUEnvironmentsRef environments, SUEnvironmentRef environment);
|
|
115
|
-
|
|
116
|
-
/**
|
|
117
|
-
* @brief Removes an environment from an environments object.
|
|
118
|
-
* @since SketchUp 2025.0, API 13.0
|
|
119
|
-
* @param[in] environments The environments object.
|
|
120
|
-
* @param[in] environment The environment object to remove.
|
|
121
|
-
* @related SUEnvironmentsRef
|
|
122
|
-
* @return
|
|
123
|
-
* - \ref SU_ERROR_NONE on success
|
|
124
|
-
* - \ref SU_ERROR_INVALID_INPUT if \p environment or \p environments is not a valid object
|
|
125
|
-
* - \ref SU_ERROR_INVALID_OPERATION if \p environment is not part of the \p environments object
|
|
126
|
-
*/
|
|
127
|
-
SU_RESULT SUEnvironmentsRemove(SUEnvironmentsRef environments, SUEnvironmentRef environment);
|
|
128
|
-
|
|
129
|
-
#ifdef __cplusplus
|
|
130
|
-
} // extern "C"
|
|
131
|
-
#endif
|
|
132
|
-
|
|
133
|
-
#endif // SKETCHUP_SLAPI_PUBLIC_MODEL_ENVIRONMENTS_H_
|