PropertiesViewApi

Struct PropertiesViewApi 

Source
#[repr(C)]
pub struct PropertiesViewApi {
Show 76 fields pub create_properties_view: Option<unsafe extern "C" fn(allocator: *mut AllocatorI, config: *const PropertiesViewConfigT) -> *mut PropertiesViewO>, pub destroy_properties_view: Option<unsafe extern "C" fn(inst: *mut PropertiesViewO)>, pub set_object: Option<unsafe extern "C" fn(inst: *mut PropertiesViewO, object: TtIdT) -> bool>, pub set_object_with_mask: Option<unsafe extern "C" fn(inst: *mut PropertiesViewO, object: TtIdT, property_mask: u64) -> bool>, pub set_mask: Option<unsafe extern "C" fn(inst: *mut PropertiesViewO, property_mask: u64) -> bool>, pub set_objects: Option<unsafe extern "C" fn(inst: *mut PropertiesViewO, objects: *const TtIdT, n: u32) -> bool>, pub objects: Option<unsafe extern "C" fn(inst: *mut PropertiesViewO) -> *const TtIdT>, pub ui: Option<unsafe extern "C" fn(inst: *mut PropertiesViewO, asset_root: TtIdT, ui: *mut UiO, style: *const UiStyleT, rect: RectT, tab: *mut TabI)>, pub update: Option<unsafe extern "C" fn(inst: *mut PropertiesViewO, ui: *mut UiO)>, pub metrics: Option<unsafe extern "C" fn(inst: *mut PropertiesViewO) -> *mut f32>, pub get_display_name: Option<unsafe extern "C" fn(tt: *const TheTruthO, object: TtIdT, buffer: *mut c_char, size: u32)>, pub get_type_display_name: Option<unsafe extern "C" fn(tt: *const TheTruthO, object_type: TtTypeT, buffer: *mut c_char, size: u32)>, pub ui_object: Option<unsafe extern "C" fn(args: *mut PropertiesUiArgsT, item_rect: RectT, object: TtIdT, indent: u32) -> f32>, pub ui_object_default: Option<unsafe extern "C" fn(args: *mut PropertiesUiArgsT, item_rect: RectT, object: TtIdT, indent: u32) -> f32>, pub ui_property: Option<unsafe extern "C" fn(args: *mut PropertiesUiArgsT, item_rect: RectT, object: TtIdT, indent: u32, property: u32) -> f32>, pub ui_property_with_name: Option<unsafe extern "C" fn(args: *mut PropertiesUiArgsT, item_rect: RectT, name: *const c_char, tooltip: *const c_char, object: TtIdT, indent: u32, property: u32) -> f32>, pub ui_property_default: Option<unsafe extern "C" fn(args: *mut PropertiesUiArgsT, item_rect: RectT, object: TtIdT, indent: u32, property: u32) -> f32>, pub ui_property_default_with_name: Option<unsafe extern "C" fn(args: *mut PropertiesUiArgsT, item_rect: RectT, name: *const c_char, tooltip: *const c_char, object: TtIdT, indent: u32, property: u32) -> f32>, pub ui_tree_item: Option<unsafe extern "C" fn(args: *mut PropertiesUiArgsT, key: u64, rect: RectT, indent: u32, expanded_default: bool, tooltip: *const c_char, ui_id: u64) -> bool>, pub ui_group: Option<unsafe extern "C" fn(args: *mut PropertiesUiArgsT, item_rect: RectT, name: *const c_char, tooltip: *const c_char, object: TtIdT, indent: u32, expanded_default: bool, is_expanded: *mut bool) -> f32>, pub show_subobject_menu: Option<unsafe extern "C" fn(tt: *mut TheTruthO, undo_stack: *mut UndoStackI, ui: *mut UiO, uistyle: *mut UiStyleT, object: TtIdT, property: u32, sub: TtIdT, pos: Vec2T) -> TtUndoScopeT>, pub begin_subobject_menu_scope: Option<unsafe extern "C" fn(args: *mut PropertiesUiArgsT, rect: RectT, object: TtIdT, property: u32, sub: TtIdT, ui_id: u64)>, pub end_subobject_menu_scope: Option<unsafe extern "C" fn(args: *mut PropertiesUiArgsT, object: TtIdT, property: u32, sub: TtIdT, ui_id: u64)>, pub begin_context_menu_scope: Option<unsafe extern "C" fn(pv: *mut PropertiesViewO, rect: RectT)>, pub end_context_menu_scope: Option<unsafe extern "C" fn(pv: *mut PropertiesViewO, out_id: *mut u64, out_text: *mut *mut c_char)>, pub selected_context_menu_item: Option<unsafe extern "C" fn(pv: *mut PropertiesViewO, out_id: *mut u64, out_text: *mut *mut c_char)>, pub add_context_menu_items: Option<unsafe extern "C" fn(pv: *mut PropertiesViewO, items: *const UiMenuItemT, num_items: u32)>, pub context_menu: Option<unsafe extern "C" fn(args: *mut PropertiesUiArgsT)>, pub ui_bool: Option<unsafe extern "C" fn(args: *mut PropertiesUiArgsT, item_rect: RectT, name: *const c_char, tooltip: *const c_char, object: TtIdT, property: u32) -> f32>, pub ui_uint32: Option<unsafe extern "C" fn(args: *mut PropertiesUiArgsT, item_rect: RectT, name: *const c_char, tooltip: *const c_char, object: TtIdT, property: u32, converter: *mut PropertiesUint32DisplayConverterI) -> f32>, pub ui_uint64: Option<unsafe extern "C" fn(args: *mut PropertiesUiArgsT, item_rect: RectT, name: *const c_char, tooltip: *const c_char, object: TtIdT, property: u32) -> f32>, pub ui_float: Option<unsafe extern "C" fn(args: *mut PropertiesUiArgsT, item_rect: RectT, name: *const c_char, tooltip: *const c_char, object: TtIdT, property: u32, converter: *const PropertiesFloatDisplayConverterI) -> f32>, pub ui_double: Option<unsafe extern "C" fn(args: *mut PropertiesUiArgsT, item_rect: RectT, name: *const c_char, tooltip: *const c_char, object: TtIdT, property: u32) -> f32>, pub ui_string: Option<unsafe extern "C" fn(args: *mut PropertiesUiArgsT, item_rect: RectT, name: *const c_char, tooltip: *const c_char, object: TtIdT, property: u32) -> f32>, pub ui_reference: Option<unsafe extern "C" fn(args: *mut PropertiesUiArgsT, item_rect: RectT, name: *const c_char, tooltip: *const c_char, object: TtIdT, property: u32) -> f32>, pub ui_reference_args: Option<unsafe extern "C" fn(args: *mut PropertiesUiArgsT, item_rect: RectT, name: *const c_char, tooltip: *const c_char, object: TtIdT, property: u32, picker_args: *const PropertiesReferencePickerArgsT) -> f32>, pub ui_reference_entity_picker: Option<unsafe extern "C" fn(args: *mut PropertiesUiArgsT, item_rect: RectT, name: *const c_char, tooltip: *const c_char, object: TtIdT, property: u32, entity_root: TtIdT) -> f32>, pub ui_subobject: Option<unsafe extern "C" fn(args: *mut PropertiesUiArgsT, item_rect: RectT, name: *const c_char, tooltip: *const c_char, object: TtIdT, property: u32, indent: u32, expanded_by_default: bool) -> f32>, pub ui_subobject_direct: Option<unsafe extern "C" fn(args: *mut PropertiesUiArgsT, item_rect: RectT, name: *const c_char, tooltip: *const c_char, parent: TtIdT, subobject: TtIdT, indent: u32, expanded_by_default: bool) -> f32>, pub ui_reference_set: Option<unsafe extern "C" fn(args: *mut PropertiesUiArgsT, item_rect: RectT, name: *const c_char, tooltip: *const c_char, object: TtIdT, property: u32, indent: u32) -> f32>, pub ui_subobject_set: Option<unsafe extern "C" fn(args: *mut PropertiesUiArgsT, item_rect: RectT, name: *const c_char, tooltip: *const c_char, object: TtIdT, property: u32, indent: u32) -> f32>, pub ui_subobject_set_reorderable: Option<unsafe extern "C" fn(args: *mut PropertiesUiArgsT, item_rect: RectT, name: *const c_char, tooltip: *const c_char, object: TtIdT, property: u32, indent: u32, item_order_property: u32, draw_header: bool) -> f32>, pub ui_subobject_set_item_header: Option<unsafe extern "C" fn(args: *mut PropertiesUiArgsT, item_rect: RectT, object: TtIdT, property: u32, sub: TtIdT, indent: u32, custom_name: *const c_char, expanded_by_default: bool) -> bool>, pub ui_subobject_set_item: Option<unsafe extern "C" fn(args: *mut PropertiesUiArgsT, item_rect: RectT, object: TtIdT, property: u32, sub: TtIdT, indent: u32, expanded_by_default: bool) -> f32>, pub ui_uint32_popup_picker: Option<unsafe extern "C" fn(args: *mut PropertiesUiArgsT, item_rect: RectT, name: *const c_char, tooltip: *const c_char, object: TtIdT, property: u32, items: *mut *const c_char, num_items: u32) -> f32>, pub ui_uint64_popup_picker: Option<unsafe extern "C" fn(args: *mut PropertiesUiArgsT, item_rect: RectT, name: *const c_char, tooltip: *const c_char, object: TtIdT, property: u32, items: *mut *const c_char, items_values: *const u64, num_items: u32) -> f32>, pub ui_reference_popup_picker: Option<unsafe extern "C" fn(args: *mut PropertiesUiArgsT, item_rect: RectT, name: *const c_char, tooltip: *const c_char, object: TtIdT, property: u32, items: *mut *const c_char, items_references: *const TtIdT, num_items: u32) -> f32>, pub ui_string_popup_picker: Option<unsafe extern "C" fn(args: *mut PropertiesUiArgsT, item_rect: RectT, name: *const c_char, tooltip: *const c_char, object: TtIdT, property: u32, items: *mut *const c_char, num_items: u32) -> f32>, pub popup_pick_with_categories: Option<unsafe extern "C" fn(args: *mut PropertiesUiArgsT, ui_id: u64, pos: Vec2T, strings: *const *const c_char, categories: *const *const c_char, num_strings: u32, pick_index: *mut u32) -> bool>, pub ui_uint32_dropdown: Option<unsafe extern "C" fn(args: *mut PropertiesUiArgsT, item_rect: RectT, name: *const c_char, tooltip: *const c_char, object: TtIdT, property: u32, items: *mut *const c_char, item_tooltips: *mut *const c_char, items_uint32: *const u32, num_items: u32) -> f32>, pub ui_uint64_dropdown: Option<unsafe extern "C" fn(args: *mut PropertiesUiArgsT, item_rect: RectT, name: *const c_char, tooltip: *const c_char, object: TtIdT, property: u32, items: *mut *const c_char, item_tooltips: *mut *const c_char, items_uint64: *const u64, num_items: u32) -> f32>, pub ui_float_slider: Option<unsafe extern "C" fn(args: *mut PropertiesUiArgsT, item_rect: RectT, name: *const c_char, tooltip: *const c_char, object: TtIdT, property: u32, slider: *const PropertiesFloatSliderT) -> f32>, pub ui_vec2: Option<unsafe extern "C" fn(args: *mut PropertiesUiArgsT, item_rect: RectT, name: *const c_char, tooltip: *const c_char, vec: TtIdT) -> f32>, pub ui_vec3: Option<unsafe extern "C" fn(args: *mut PropertiesUiArgsT, item_rect: RectT, name: *const c_char, tooltip: *const c_char, vec: TtIdT) -> f32>, pub ui_vec4: Option<unsafe extern "C" fn(args: *mut PropertiesUiArgsT, item_rect: RectT, name: *const c_char, tooltip: *const c_char, vec: TtIdT) -> f32>, pub ui_color_picker: Option<unsafe extern "C" fn(args: *mut PropertiesUiArgsT, item_rect: RectT, name: *const c_char, tooltip: *const c_char, color: TtIdT) -> f32>, pub update_truth_color: Option<unsafe extern "C" fn(args: *mut PropertiesUiArgsT, res: u32, new_color: Vec3T, initial_color: Vec3T, color: TtIdT)>, pub ui_color_wheel_raw: Option<unsafe extern "C" fn(args: *mut PropertiesUiArgsT, item_rect: RectT, name: *const c_char, tooltip: *const c_char, default_value: Vec3T, color: *mut Vec3T, initial: *mut Vec3T, res: *mut u32) -> f32>, pub ui_color_wheel: Option<unsafe extern "C" fn(args: *mut PropertiesUiArgsT, item_rect: RectT, name: *const c_char, tooltip: *const c_char, default_value: Vec3T, color: TtIdT) -> f32>, pub ui_color_temperature: Option<unsafe extern "C" fn(args: *mut PropertiesUiArgsT, item_rect: RectT, tooltip: *const c_char, color: TtIdT) -> f32>, pub ui_color_button: Option<unsafe extern "C" fn(args: *mut PropertiesUiArgsT, color_button: *const UiButtonT, color: TtIdT) -> bool>, pub ui_expanded_color_picker: Option<unsafe extern "C" fn(args: *mut PropertiesUiArgsT, item_rect: RectT, color: TtIdT) -> f32>, pub ui_rotation: Option<unsafe extern "C" fn(args: *mut PropertiesUiArgsT, item_rect: RectT, name: *const c_char, tooltip: *const c_char, rotation: TtIdT) -> f32>, pub ui_visibility_flags: Option<unsafe extern "C" fn(args: *mut PropertiesUiArgsT, item_rect: RectT, name: *const c_char, tooltip: *const c_char, object: TtIdT, property: u32, indent: u32) -> f32>, pub ui_label: Option<unsafe extern "C" fn(args: *mut PropertiesUiArgsT, item_rect: RectT, name: *const c_char, tooltip: *const c_char) -> f32>, pub ui_horizontal_line: Option<unsafe extern "C" fn(args: *mut PropertiesUiArgsT, item_rect: RectT) -> f32>, pub ui_static_text: Option<unsafe extern "C" fn(args: *mut PropertiesUiArgsT, item_rect: RectT, name: *const c_char, tooltip: *const c_char, text: *const c_char) -> f32>, pub ui_prototype: Option<unsafe extern "C" fn(args: *mut PropertiesUiArgsT, item_rect: RectT, name: *const c_char, tooltip: *const c_char, parent: TtIdT, property: u32, subobject: TtIdT, pick_type_hash: StrhashT) -> f32>, pub ui_open_path: Option<unsafe extern "C" fn(args: *mut PropertiesUiArgsT, item_rect: RectT, name: *const c_char, tooltip: *const c_char, object: TtIdT, property: u32, extensions: *const c_char, description: *const c_char, picked: *mut bool) -> f32>, pub ui_save_path: Option<unsafe extern "C" fn(args: *mut PropertiesUiArgsT, item_rect: RectT, name: *const c_char, tooltip: *const c_char, object: TtIdT, property: u32, extensions: *const c_char, description: *const c_char, picked: *mut bool) -> f32>, pub ui_multi_object: Option<unsafe extern "C" fn(args: *mut PropertiesUiArgsT, item_rect: RectT, parent_proxy: TtIdT, property: u32, objects: *const TtIdT, n: u32, indent: u32) -> f32>, pub proxy_to_objects: Option<unsafe extern "C" fn(pv: *mut PropertiesViewO, proxy: TtIdT) -> *const TtIdT>, pub multi_proxy: Option<unsafe extern "C" fn(pv: *mut PropertiesViewO, parent_proxy: TtIdT, property: u32, objects: *const TtIdT, n: u32) -> TtIdT>, pub get_property_value: Option<unsafe extern "C" fn(pv: *mut PropertiesViewO, object: TtIdT, property: u32, ta: *mut TempAllocatorI) -> *const TtPropValueT>, pub was_changed: Option<unsafe extern "C" fn(args: *mut PropertiesUiArgsT, object: TtIdT, property: u32) -> bool>, pub internal__copy_expanded_state: Option<unsafe extern "C" fn(pv: *mut PropertiesViewO, from_key: TtIdT, to_key: TtIdT)>,
}

Fields§

§create_properties_view: Option<unsafe extern "C" fn(allocator: *mut AllocatorI, config: *const PropertiesViewConfigT) -> *mut PropertiesViewO>§destroy_properties_view: Option<unsafe extern "C" fn(inst: *mut PropertiesViewO)>§set_object: Option<unsafe extern "C" fn(inst: *mut PropertiesViewO, object: TtIdT) -> bool>§set_object_with_mask: Option<unsafe extern "C" fn(inst: *mut PropertiesViewO, object: TtIdT, property_mask: u64) -> bool>§set_mask: Option<unsafe extern "C" fn(inst: *mut PropertiesViewO, property_mask: u64) -> bool>§set_objects: Option<unsafe extern "C" fn(inst: *mut PropertiesViewO, objects: *const TtIdT, n: u32) -> bool>§objects: Option<unsafe extern "C" fn(inst: *mut PropertiesViewO) -> *const TtIdT>§ui: Option<unsafe extern "C" fn(inst: *mut PropertiesViewO, asset_root: TtIdT, ui: *mut UiO, style: *const UiStyleT, rect: RectT, tab: *mut TabI)>§update: Option<unsafe extern "C" fn(inst: *mut PropertiesViewO, ui: *mut UiO)>§metrics: Option<unsafe extern "C" fn(inst: *mut PropertiesViewO) -> *mut f32>§get_display_name: Option<unsafe extern "C" fn(tt: *const TheTruthO, object: TtIdT, buffer: *mut c_char, size: u32)>§get_type_display_name: Option<unsafe extern "C" fn(tt: *const TheTruthO, object_type: TtTypeT, buffer: *mut c_char, size: u32)>§ui_object: Option<unsafe extern "C" fn(args: *mut PropertiesUiArgsT, item_rect: RectT, object: TtIdT, indent: u32) -> f32>§ui_object_default: Option<unsafe extern "C" fn(args: *mut PropertiesUiArgsT, item_rect: RectT, object: TtIdT, indent: u32) -> f32>§ui_property: Option<unsafe extern "C" fn(args: *mut PropertiesUiArgsT, item_rect: RectT, object: TtIdT, indent: u32, property: u32) -> f32>§ui_property_with_name: Option<unsafe extern "C" fn(args: *mut PropertiesUiArgsT, item_rect: RectT, name: *const c_char, tooltip: *const c_char, object: TtIdT, indent: u32, property: u32) -> f32>§ui_property_default: Option<unsafe extern "C" fn(args: *mut PropertiesUiArgsT, item_rect: RectT, object: TtIdT, indent: u32, property: u32) -> f32>§ui_property_default_with_name: Option<unsafe extern "C" fn(args: *mut PropertiesUiArgsT, item_rect: RectT, name: *const c_char, tooltip: *const c_char, object: TtIdT, indent: u32, property: u32) -> f32>§ui_tree_item: Option<unsafe extern "C" fn(args: *mut PropertiesUiArgsT, key: u64, rect: RectT, indent: u32, expanded_default: bool, tooltip: *const c_char, ui_id: u64) -> bool>§ui_group: Option<unsafe extern "C" fn(args: *mut PropertiesUiArgsT, item_rect: RectT, name: *const c_char, tooltip: *const c_char, object: TtIdT, indent: u32, expanded_default: bool, is_expanded: *mut bool) -> f32>§show_subobject_menu: Option<unsafe extern "C" fn(tt: *mut TheTruthO, undo_stack: *mut UndoStackI, ui: *mut UiO, uistyle: *mut UiStyleT, object: TtIdT, property: u32, sub: TtIdT, pos: Vec2T) -> TtUndoScopeT>§begin_subobject_menu_scope: Option<unsafe extern "C" fn(args: *mut PropertiesUiArgsT, rect: RectT, object: TtIdT, property: u32, sub: TtIdT, ui_id: u64)>§end_subobject_menu_scope: Option<unsafe extern "C" fn(args: *mut PropertiesUiArgsT, object: TtIdT, property: u32, sub: TtIdT, ui_id: u64)>§begin_context_menu_scope: Option<unsafe extern "C" fn(pv: *mut PropertiesViewO, rect: RectT)>§end_context_menu_scope: Option<unsafe extern "C" fn(pv: *mut PropertiesViewO, out_id: *mut u64, out_text: *mut *mut c_char)>§selected_context_menu_item: Option<unsafe extern "C" fn(pv: *mut PropertiesViewO, out_id: *mut u64, out_text: *mut *mut c_char)>§add_context_menu_items: Option<unsafe extern "C" fn(pv: *mut PropertiesViewO, items: *const UiMenuItemT, num_items: u32)>§context_menu: Option<unsafe extern "C" fn(args: *mut PropertiesUiArgsT)>§ui_bool: Option<unsafe extern "C" fn(args: *mut PropertiesUiArgsT, item_rect: RectT, name: *const c_char, tooltip: *const c_char, object: TtIdT, property: u32) -> f32>§ui_uint32: Option<unsafe extern "C" fn(args: *mut PropertiesUiArgsT, item_rect: RectT, name: *const c_char, tooltip: *const c_char, object: TtIdT, property: u32, converter: *mut PropertiesUint32DisplayConverterI) -> f32>§ui_uint64: Option<unsafe extern "C" fn(args: *mut PropertiesUiArgsT, item_rect: RectT, name: *const c_char, tooltip: *const c_char, object: TtIdT, property: u32) -> f32>§ui_float: Option<unsafe extern "C" fn(args: *mut PropertiesUiArgsT, item_rect: RectT, name: *const c_char, tooltip: *const c_char, object: TtIdT, property: u32, converter: *const PropertiesFloatDisplayConverterI) -> f32>§ui_double: Option<unsafe extern "C" fn(args: *mut PropertiesUiArgsT, item_rect: RectT, name: *const c_char, tooltip: *const c_char, object: TtIdT, property: u32) -> f32>§ui_string: Option<unsafe extern "C" fn(args: *mut PropertiesUiArgsT, item_rect: RectT, name: *const c_char, tooltip: *const c_char, object: TtIdT, property: u32) -> f32>§ui_reference: Option<unsafe extern "C" fn(args: *mut PropertiesUiArgsT, item_rect: RectT, name: *const c_char, tooltip: *const c_char, object: TtIdT, property: u32) -> f32>§ui_reference_args: Option<unsafe extern "C" fn(args: *mut PropertiesUiArgsT, item_rect: RectT, name: *const c_char, tooltip: *const c_char, object: TtIdT, property: u32, picker_args: *const PropertiesReferencePickerArgsT) -> f32>§ui_reference_entity_picker: Option<unsafe extern "C" fn(args: *mut PropertiesUiArgsT, item_rect: RectT, name: *const c_char, tooltip: *const c_char, object: TtIdT, property: u32, entity_root: TtIdT) -> f32>§ui_subobject: Option<unsafe extern "C" fn(args: *mut PropertiesUiArgsT, item_rect: RectT, name: *const c_char, tooltip: *const c_char, object: TtIdT, property: u32, indent: u32, expanded_by_default: bool) -> f32>§ui_subobject_direct: Option<unsafe extern "C" fn(args: *mut PropertiesUiArgsT, item_rect: RectT, name: *const c_char, tooltip: *const c_char, parent: TtIdT, subobject: TtIdT, indent: u32, expanded_by_default: bool) -> f32>§ui_reference_set: Option<unsafe extern "C" fn(args: *mut PropertiesUiArgsT, item_rect: RectT, name: *const c_char, tooltip: *const c_char, object: TtIdT, property: u32, indent: u32) -> f32>§ui_subobject_set: Option<unsafe extern "C" fn(args: *mut PropertiesUiArgsT, item_rect: RectT, name: *const c_char, tooltip: *const c_char, object: TtIdT, property: u32, indent: u32) -> f32>§ui_subobject_set_reorderable: Option<unsafe extern "C" fn(args: *mut PropertiesUiArgsT, item_rect: RectT, name: *const c_char, tooltip: *const c_char, object: TtIdT, property: u32, indent: u32, item_order_property: u32, draw_header: bool) -> f32>§ui_subobject_set_item_header: Option<unsafe extern "C" fn(args: *mut PropertiesUiArgsT, item_rect: RectT, object: TtIdT, property: u32, sub: TtIdT, indent: u32, custom_name: *const c_char, expanded_by_default: bool) -> bool>§ui_subobject_set_item: Option<unsafe extern "C" fn(args: *mut PropertiesUiArgsT, item_rect: RectT, object: TtIdT, property: u32, sub: TtIdT, indent: u32, expanded_by_default: bool) -> f32>§ui_uint32_popup_picker: Option<unsafe extern "C" fn(args: *mut PropertiesUiArgsT, item_rect: RectT, name: *const c_char, tooltip: *const c_char, object: TtIdT, property: u32, items: *mut *const c_char, num_items: u32) -> f32>§ui_uint64_popup_picker: Option<unsafe extern "C" fn(args: *mut PropertiesUiArgsT, item_rect: RectT, name: *const c_char, tooltip: *const c_char, object: TtIdT, property: u32, items: *mut *const c_char, items_values: *const u64, num_items: u32) -> f32>§ui_reference_popup_picker: Option<unsafe extern "C" fn(args: *mut PropertiesUiArgsT, item_rect: RectT, name: *const c_char, tooltip: *const c_char, object: TtIdT, property: u32, items: *mut *const c_char, items_references: *const TtIdT, num_items: u32) -> f32>§ui_string_popup_picker: Option<unsafe extern "C" fn(args: *mut PropertiesUiArgsT, item_rect: RectT, name: *const c_char, tooltip: *const c_char, object: TtIdT, property: u32, items: *mut *const c_char, num_items: u32) -> f32>§popup_pick_with_categories: Option<unsafe extern "C" fn(args: *mut PropertiesUiArgsT, ui_id: u64, pos: Vec2T, strings: *const *const c_char, categories: *const *const c_char, num_strings: u32, pick_index: *mut u32) -> bool>§ui_uint32_dropdown: Option<unsafe extern "C" fn(args: *mut PropertiesUiArgsT, item_rect: RectT, name: *const c_char, tooltip: *const c_char, object: TtIdT, property: u32, items: *mut *const c_char, item_tooltips: *mut *const c_char, items_uint32: *const u32, num_items: u32) -> f32>§ui_uint64_dropdown: Option<unsafe extern "C" fn(args: *mut PropertiesUiArgsT, item_rect: RectT, name: *const c_char, tooltip: *const c_char, object: TtIdT, property: u32, items: *mut *const c_char, item_tooltips: *mut *const c_char, items_uint64: *const u64, num_items: u32) -> f32>§ui_float_slider: Option<unsafe extern "C" fn(args: *mut PropertiesUiArgsT, item_rect: RectT, name: *const c_char, tooltip: *const c_char, object: TtIdT, property: u32, slider: *const PropertiesFloatSliderT) -> f32>§ui_vec2: Option<unsafe extern "C" fn(args: *mut PropertiesUiArgsT, item_rect: RectT, name: *const c_char, tooltip: *const c_char, vec: TtIdT) -> f32>§ui_vec3: Option<unsafe extern "C" fn(args: *mut PropertiesUiArgsT, item_rect: RectT, name: *const c_char, tooltip: *const c_char, vec: TtIdT) -> f32>§ui_vec4: Option<unsafe extern "C" fn(args: *mut PropertiesUiArgsT, item_rect: RectT, name: *const c_char, tooltip: *const c_char, vec: TtIdT) -> f32>§ui_color_picker: Option<unsafe extern "C" fn(args: *mut PropertiesUiArgsT, item_rect: RectT, name: *const c_char, tooltip: *const c_char, color: TtIdT) -> f32>§update_truth_color: Option<unsafe extern "C" fn(args: *mut PropertiesUiArgsT, res: u32, new_color: Vec3T, initial_color: Vec3T, color: TtIdT)>§ui_color_wheel_raw: Option<unsafe extern "C" fn(args: *mut PropertiesUiArgsT, item_rect: RectT, name: *const c_char, tooltip: *const c_char, default_value: Vec3T, color: *mut Vec3T, initial: *mut Vec3T, res: *mut u32) -> f32>§ui_color_wheel: Option<unsafe extern "C" fn(args: *mut PropertiesUiArgsT, item_rect: RectT, name: *const c_char, tooltip: *const c_char, default_value: Vec3T, color: TtIdT) -> f32>§ui_color_temperature: Option<unsafe extern "C" fn(args: *mut PropertiesUiArgsT, item_rect: RectT, tooltip: *const c_char, color: TtIdT) -> f32>§ui_color_button: Option<unsafe extern "C" fn(args: *mut PropertiesUiArgsT, color_button: *const UiButtonT, color: TtIdT) -> bool>§ui_expanded_color_picker: Option<unsafe extern "C" fn(args: *mut PropertiesUiArgsT, item_rect: RectT, color: TtIdT) -> f32>§ui_rotation: Option<unsafe extern "C" fn(args: *mut PropertiesUiArgsT, item_rect: RectT, name: *const c_char, tooltip: *const c_char, rotation: TtIdT) -> f32>§ui_visibility_flags: Option<unsafe extern "C" fn(args: *mut PropertiesUiArgsT, item_rect: RectT, name: *const c_char, tooltip: *const c_char, object: TtIdT, property: u32, indent: u32) -> f32>§ui_label: Option<unsafe extern "C" fn(args: *mut PropertiesUiArgsT, item_rect: RectT, name: *const c_char, tooltip: *const c_char) -> f32>§ui_horizontal_line: Option<unsafe extern "C" fn(args: *mut PropertiesUiArgsT, item_rect: RectT) -> f32>§ui_static_text: Option<unsafe extern "C" fn(args: *mut PropertiesUiArgsT, item_rect: RectT, name: *const c_char, tooltip: *const c_char, text: *const c_char) -> f32>§ui_prototype: Option<unsafe extern "C" fn(args: *mut PropertiesUiArgsT, item_rect: RectT, name: *const c_char, tooltip: *const c_char, parent: TtIdT, property: u32, subobject: TtIdT, pick_type_hash: StrhashT) -> f32>§ui_open_path: Option<unsafe extern "C" fn(args: *mut PropertiesUiArgsT, item_rect: RectT, name: *const c_char, tooltip: *const c_char, object: TtIdT, property: u32, extensions: *const c_char, description: *const c_char, picked: *mut bool) -> f32>§ui_save_path: Option<unsafe extern "C" fn(args: *mut PropertiesUiArgsT, item_rect: RectT, name: *const c_char, tooltip: *const c_char, object: TtIdT, property: u32, extensions: *const c_char, description: *const c_char, picked: *mut bool) -> f32>§ui_multi_object: Option<unsafe extern "C" fn(args: *mut PropertiesUiArgsT, item_rect: RectT, parent_proxy: TtIdT, property: u32, objects: *const TtIdT, n: u32, indent: u32) -> f32>§proxy_to_objects: Option<unsafe extern "C" fn(pv: *mut PropertiesViewO, proxy: TtIdT) -> *const TtIdT>§multi_proxy: Option<unsafe extern "C" fn(pv: *mut PropertiesViewO, parent_proxy: TtIdT, property: u32, objects: *const TtIdT, n: u32) -> TtIdT>§get_property_value: Option<unsafe extern "C" fn(pv: *mut PropertiesViewO, object: TtIdT, property: u32, ta: *mut TempAllocatorI) -> *const TtPropValueT>§was_changed: Option<unsafe extern "C" fn(args: *mut PropertiesUiArgsT, object: TtIdT, property: u32) -> bool>§internal__copy_expanded_state: Option<unsafe extern "C" fn(pv: *mut PropertiesViewO, from_key: TtIdT, to_key: TtIdT)>

Implementations§

Source§

impl PropertiesViewApi

Source

pub unsafe fn create_properties_view( &self, allocator: *mut AllocatorI, config: *const PropertiesViewConfigT, ) -> *mut PropertiesViewO

Source

pub unsafe fn destroy_properties_view(&self, inst: *mut PropertiesViewO)

Source

pub unsafe fn set_object( &self, inst: *mut PropertiesViewO, object: TtIdT, ) -> bool

Source

pub unsafe fn set_object_with_mask( &self, inst: *mut PropertiesViewO, object: TtIdT, property_mask: u64, ) -> bool

Source

pub unsafe fn set_mask( &self, inst: *mut PropertiesViewO, property_mask: u64, ) -> bool

Source

pub unsafe fn set_objects( &self, inst: *mut PropertiesViewO, objects: *const TtIdT, n: u32, ) -> bool

Source

pub unsafe fn objects(&self, inst: *mut PropertiesViewO) -> *const TtIdT

Source

pub unsafe fn ui( &self, inst: *mut PropertiesViewO, asset_root: TtIdT, ui: *mut UiO, style: *const UiStyleT, rect: RectT, tab: *mut TabI, )

Source

pub unsafe fn update(&self, inst: *mut PropertiesViewO, ui: *mut UiO)

Source

pub unsafe fn metrics(&self, inst: *mut PropertiesViewO) -> *mut f32

Source

pub unsafe fn get_display_name( &self, tt: *const TheTruthO, object: TtIdT, buffer: *mut c_char, size: u32, )

Source

pub unsafe fn get_type_display_name( &self, tt: *const TheTruthO, object_type: TtTypeT, buffer: *mut c_char, size: u32, )

Source

pub unsafe fn ui_object( &self, args: *mut PropertiesUiArgsT, item_rect: RectT, object: TtIdT, indent: u32, ) -> f32

Source

pub unsafe fn ui_object_default( &self, args: *mut PropertiesUiArgsT, item_rect: RectT, object: TtIdT, indent: u32, ) -> f32

Source

pub unsafe fn ui_property( &self, args: *mut PropertiesUiArgsT, item_rect: RectT, object: TtIdT, indent: u32, property: u32, ) -> f32

Source

pub unsafe fn ui_property_with_name( &self, args: *mut PropertiesUiArgsT, item_rect: RectT, name: *const c_char, tooltip: *const c_char, object: TtIdT, indent: u32, property: u32, ) -> f32

Source

pub unsafe fn ui_property_default( &self, args: *mut PropertiesUiArgsT, item_rect: RectT, object: TtIdT, indent: u32, property: u32, ) -> f32

Source

pub unsafe fn ui_property_default_with_name( &self, args: *mut PropertiesUiArgsT, item_rect: RectT, name: *const c_char, tooltip: *const c_char, object: TtIdT, indent: u32, property: u32, ) -> f32

Source

pub unsafe fn ui_tree_item( &self, args: *mut PropertiesUiArgsT, key: u64, rect: RectT, indent: u32, expanded_default: bool, tooltip: *const c_char, ui_id: u64, ) -> bool

Source

pub unsafe fn ui_group( &self, args: *mut PropertiesUiArgsT, item_rect: RectT, name: *const c_char, tooltip: *const c_char, object: TtIdT, indent: u32, expanded_default: bool, is_expanded: *mut bool, ) -> f32

Source

pub unsafe fn show_subobject_menu( &self, tt: *mut TheTruthO, undo_stack: *mut UndoStackI, ui: *mut UiO, uistyle: *mut UiStyleT, object: TtIdT, property: u32, sub: TtIdT, pos: Vec2T, ) -> TtUndoScopeT

Source

pub unsafe fn begin_subobject_menu_scope( &self, args: *mut PropertiesUiArgsT, rect: RectT, object: TtIdT, property: u32, sub: TtIdT, ui_id: u64, )

Source

pub unsafe fn end_subobject_menu_scope( &self, args: *mut PropertiesUiArgsT, object: TtIdT, property: u32, sub: TtIdT, ui_id: u64, )

Source

pub unsafe fn begin_context_menu_scope( &self, pv: *mut PropertiesViewO, rect: RectT, )

Source

pub unsafe fn end_context_menu_scope( &self, pv: *mut PropertiesViewO, out_id: *mut u64, out_text: *mut *mut c_char, )

Source

pub unsafe fn selected_context_menu_item( &self, pv: *mut PropertiesViewO, out_id: *mut u64, out_text: *mut *mut c_char, )

Source

pub unsafe fn add_context_menu_items( &self, pv: *mut PropertiesViewO, items: *const UiMenuItemT, num_items: u32, )

Source

pub unsafe fn context_menu(&self, args: *mut PropertiesUiArgsT)

Source

pub unsafe fn ui_bool( &self, args: *mut PropertiesUiArgsT, item_rect: RectT, name: *const c_char, tooltip: *const c_char, object: TtIdT, property: u32, ) -> f32

Source

pub unsafe fn ui_uint32( &self, args: *mut PropertiesUiArgsT, item_rect: RectT, name: *const c_char, tooltip: *const c_char, object: TtIdT, property: u32, converter: *mut PropertiesUint32DisplayConverterI, ) -> f32

Source

pub unsafe fn ui_uint64( &self, args: *mut PropertiesUiArgsT, item_rect: RectT, name: *const c_char, tooltip: *const c_char, object: TtIdT, property: u32, ) -> f32

Source

pub unsafe fn ui_float( &self, args: *mut PropertiesUiArgsT, item_rect: RectT, name: *const c_char, tooltip: *const c_char, object: TtIdT, property: u32, converter: *const PropertiesFloatDisplayConverterI, ) -> f32

Source

pub unsafe fn ui_double( &self, args: *mut PropertiesUiArgsT, item_rect: RectT, name: *const c_char, tooltip: *const c_char, object: TtIdT, property: u32, ) -> f32

Source

pub unsafe fn ui_string( &self, args: *mut PropertiesUiArgsT, item_rect: RectT, name: *const c_char, tooltip: *const c_char, object: TtIdT, property: u32, ) -> f32

Source

pub unsafe fn ui_reference( &self, args: *mut PropertiesUiArgsT, item_rect: RectT, name: *const c_char, tooltip: *const c_char, object: TtIdT, property: u32, ) -> f32

Source

pub unsafe fn ui_reference_args( &self, args: *mut PropertiesUiArgsT, item_rect: RectT, name: *const c_char, tooltip: *const c_char, object: TtIdT, property: u32, picker_args: *const PropertiesReferencePickerArgsT, ) -> f32

Source

pub unsafe fn ui_reference_entity_picker( &self, args: *mut PropertiesUiArgsT, item_rect: RectT, name: *const c_char, tooltip: *const c_char, object: TtIdT, property: u32, entity_root: TtIdT, ) -> f32

Source

pub unsafe fn ui_subobject( &self, args: *mut PropertiesUiArgsT, item_rect: RectT, name: *const c_char, tooltip: *const c_char, object: TtIdT, property: u32, indent: u32, expanded_by_default: bool, ) -> f32

Source

pub unsafe fn ui_subobject_direct( &self, args: *mut PropertiesUiArgsT, item_rect: RectT, name: *const c_char, tooltip: *const c_char, parent: TtIdT, subobject: TtIdT, indent: u32, expanded_by_default: bool, ) -> f32

Source

pub unsafe fn ui_reference_set( &self, args: *mut PropertiesUiArgsT, item_rect: RectT, name: *const c_char, tooltip: *const c_char, object: TtIdT, property: u32, indent: u32, ) -> f32

Source

pub unsafe fn ui_subobject_set( &self, args: *mut PropertiesUiArgsT, item_rect: RectT, name: *const c_char, tooltip: *const c_char, object: TtIdT, property: u32, indent: u32, ) -> f32

Source

pub unsafe fn ui_subobject_set_reorderable( &self, args: *mut PropertiesUiArgsT, item_rect: RectT, name: *const c_char, tooltip: *const c_char, object: TtIdT, property: u32, indent: u32, item_order_property: u32, draw_header: bool, ) -> f32

Source

pub unsafe fn ui_subobject_set_item_header( &self, args: *mut PropertiesUiArgsT, item_rect: RectT, object: TtIdT, property: u32, sub: TtIdT, indent: u32, custom_name: *const c_char, expanded_by_default: bool, ) -> bool

Source

pub unsafe fn ui_subobject_set_item( &self, args: *mut PropertiesUiArgsT, item_rect: RectT, object: TtIdT, property: u32, sub: TtIdT, indent: u32, expanded_by_default: bool, ) -> f32

Source

pub unsafe fn ui_uint32_popup_picker( &self, args: *mut PropertiesUiArgsT, item_rect: RectT, name: *const c_char, tooltip: *const c_char, object: TtIdT, property: u32, items: *mut *const c_char, num_items: u32, ) -> f32

Source

pub unsafe fn ui_uint64_popup_picker( &self, args: *mut PropertiesUiArgsT, item_rect: RectT, name: *const c_char, tooltip: *const c_char, object: TtIdT, property: u32, items: *mut *const c_char, items_values: *const u64, num_items: u32, ) -> f32

Source

pub unsafe fn ui_reference_popup_picker( &self, args: *mut PropertiesUiArgsT, item_rect: RectT, name: *const c_char, tooltip: *const c_char, object: TtIdT, property: u32, items: *mut *const c_char, items_references: *const TtIdT, num_items: u32, ) -> f32

Source

pub unsafe fn ui_string_popup_picker( &self, args: *mut PropertiesUiArgsT, item_rect: RectT, name: *const c_char, tooltip: *const c_char, object: TtIdT, property: u32, items: *mut *const c_char, num_items: u32, ) -> f32

Source

pub unsafe fn popup_pick_with_categories( &self, args: *mut PropertiesUiArgsT, ui_id: u64, pos: Vec2T, strings: *const *const c_char, categories: *const *const c_char, num_strings: u32, pick_index: *mut u32, ) -> bool

Source

pub unsafe fn ui_uint32_dropdown( &self, args: *mut PropertiesUiArgsT, item_rect: RectT, name: *const c_char, tooltip: *const c_char, object: TtIdT, property: u32, items: *mut *const c_char, item_tooltips: *mut *const c_char, items_uint32: *const u32, num_items: u32, ) -> f32

Source

pub unsafe fn ui_uint64_dropdown( &self, args: *mut PropertiesUiArgsT, item_rect: RectT, name: *const c_char, tooltip: *const c_char, object: TtIdT, property: u32, items: *mut *const c_char, item_tooltips: *mut *const c_char, items_uint64: *const u64, num_items: u32, ) -> f32

Source

pub unsafe fn ui_float_slider( &self, args: *mut PropertiesUiArgsT, item_rect: RectT, name: *const c_char, tooltip: *const c_char, object: TtIdT, property: u32, slider: *const PropertiesFloatSliderT, ) -> f32

Source

pub unsafe fn ui_vec2( &self, args: *mut PropertiesUiArgsT, item_rect: RectT, name: *const c_char, tooltip: *const c_char, vec: TtIdT, ) -> f32

Source

pub unsafe fn ui_vec3( &self, args: *mut PropertiesUiArgsT, item_rect: RectT, name: *const c_char, tooltip: *const c_char, vec: TtIdT, ) -> f32

Source

pub unsafe fn ui_vec4( &self, args: *mut PropertiesUiArgsT, item_rect: RectT, name: *const c_char, tooltip: *const c_char, vec: TtIdT, ) -> f32

Source

pub unsafe fn ui_color_picker( &self, args: *mut PropertiesUiArgsT, item_rect: RectT, name: *const c_char, tooltip: *const c_char, color: TtIdT, ) -> f32

Source

pub unsafe fn update_truth_color( &self, args: *mut PropertiesUiArgsT, res: u32, new_color: Vec3T, initial_color: Vec3T, color: TtIdT, )

Source

pub unsafe fn ui_color_wheel_raw( &self, args: *mut PropertiesUiArgsT, item_rect: RectT, name: *const c_char, tooltip: *const c_char, default_value: Vec3T, color: *mut Vec3T, initial: *mut Vec3T, res: *mut u32, ) -> f32

Source

pub unsafe fn ui_color_wheel( &self, args: *mut PropertiesUiArgsT, item_rect: RectT, name: *const c_char, tooltip: *const c_char, default_value: Vec3T, color: TtIdT, ) -> f32

Source

pub unsafe fn ui_color_temperature( &self, args: *mut PropertiesUiArgsT, item_rect: RectT, tooltip: *const c_char, color: TtIdT, ) -> f32

Source

pub unsafe fn ui_color_button( &self, args: *mut PropertiesUiArgsT, color_button: *const UiButtonT, color: TtIdT, ) -> bool

Source

pub unsafe fn ui_expanded_color_picker( &self, args: *mut PropertiesUiArgsT, item_rect: RectT, color: TtIdT, ) -> f32

Source

pub unsafe fn ui_rotation( &self, args: *mut PropertiesUiArgsT, item_rect: RectT, name: *const c_char, tooltip: *const c_char, rotation: TtIdT, ) -> f32

Source

pub unsafe fn ui_visibility_flags( &self, args: *mut PropertiesUiArgsT, item_rect: RectT, name: *const c_char, tooltip: *const c_char, object: TtIdT, property: u32, indent: u32, ) -> f32

Source

pub unsafe fn ui_label( &self, args: *mut PropertiesUiArgsT, item_rect: RectT, name: *const c_char, tooltip: *const c_char, ) -> f32

Source

pub unsafe fn ui_horizontal_line( &self, args: *mut PropertiesUiArgsT, item_rect: RectT, ) -> f32

Source

pub unsafe fn ui_static_text( &self, args: *mut PropertiesUiArgsT, item_rect: RectT, name: *const c_char, tooltip: *const c_char, text: *const c_char, ) -> f32

Source

pub unsafe fn ui_prototype( &self, args: *mut PropertiesUiArgsT, item_rect: RectT, name: *const c_char, tooltip: *const c_char, parent: TtIdT, property: u32, subobject: TtIdT, pick_type_hash: StrhashT, ) -> f32

Source

pub unsafe fn ui_open_path( &self, args: *mut PropertiesUiArgsT, item_rect: RectT, name: *const c_char, tooltip: *const c_char, object: TtIdT, property: u32, extensions: *const c_char, description: *const c_char, picked: *mut bool, ) -> f32

Source

pub unsafe fn ui_save_path( &self, args: *mut PropertiesUiArgsT, item_rect: RectT, name: *const c_char, tooltip: *const c_char, object: TtIdT, property: u32, extensions: *const c_char, description: *const c_char, picked: *mut bool, ) -> f32

Source

pub unsafe fn ui_multi_object( &self, args: *mut PropertiesUiArgsT, item_rect: RectT, parent_proxy: TtIdT, property: u32, objects: *const TtIdT, n: u32, indent: u32, ) -> f32

Source

pub unsafe fn proxy_to_objects( &self, pv: *mut PropertiesViewO, proxy: TtIdT, ) -> *const TtIdT

Source

pub unsafe fn multi_proxy( &self, pv: *mut PropertiesViewO, parent_proxy: TtIdT, property: u32, objects: *const TtIdT, n: u32, ) -> TtIdT

Source

pub unsafe fn get_property_value( &self, pv: *mut PropertiesViewO, object: TtIdT, property: u32, ta: *mut TempAllocatorI, ) -> *const TtPropValueT

Source

pub unsafe fn was_changed( &self, args: *mut PropertiesUiArgsT, object: TtIdT, property: u32, ) -> bool

Trait Implementations§

Source§

impl Api for PropertiesViewApi

Source§

impl Clone for PropertiesViewApi

Source§

fn clone(&self) -> PropertiesViewApi

Returns a duplicate of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Default for PropertiesViewApi

Source§

fn default() -> PropertiesViewApi

Returns the “default value” for a type. Read more
Source§

impl Copy for PropertiesViewApi

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.