Render Anything Engine: tell your AI what to make. Videos, motion graphics, 3D and games as React and TypeScript, rendered on your own GPU. Rust + Bevy, macOS, Linux and Windows.
TypeScript 3dagent-skillsai-agentsai-videobevyclaude-codegame-enginegpulinuxmacosmotion-designmotion-graphicsreactrusttypescriptvideo-editingvideo-renderingwgpuwindows
// Generated by tools/gen.sh from Blender's own API (tools/dump.py). Don't edit: regenerate.
import type * as H from "../../types";
import type * as M from "../../mathutils";
import type * as R from "../rna";
import type * as E from "../enums";
import type * as P from "../py";
/** bpy.types.XrActionMap */
export interface XrActionMap extends R.bpy_struct {
/** Name of the action map Default: "". */
get name(): H.Ref<string>;
set name(v: H.In<string>);
/** Items in the action map, mapping an XR event to an operator, pose, or haptic output */
readonly actionmap_items: H.Own<H.Coll<R.XrActionMapItem> & R.XrActionMapItems>;
/** Selected Item Range: -32768 to 32767. Default: 0. */
get selected_item(): H.Ref<number>;
set selected_item(v: H.In<number>);
}
/**
* Binding in an XR action map item
*
* bpy.types.XrActionMapBinding
*/
export interface XrActionMapBinding extends R.bpy_struct {
/** Name of the action map binding Default: "". */
get name(): H.Ref<string>;
set name(v: H.In<string>);
/** OpenXR interaction profile path Default: "". */
get profile(): H.Ref<string>;
set profile(v: H.In<string>);
/** OpenXR component paths */
readonly component_paths: H.Own<H.Coll<R.XrComponentPath> & R.XrComponentPaths>;
/** Input threshold for button/axis actions Range: 0 to 1. Default: 0.0. */
get threshold(): H.Ref<number>;
set threshold(v: H.In<number>);
/**
* Action execution region for the first input axis Default: 'ANY'.
* - `ANY`: Any (Use any axis region for operator execution)
* - `POSITIVE`: Positive (Use positive axis region only for operator execution)
* - `NEGATIVE`: Negative (Use negative axis region only for operator execution)
*/
get axis0_region(): H.Ref<"ANY" | "POSITIVE" | "NEGATIVE">;
set axis0_region(v: H.In<"ANY" | "POSITIVE" | "NEGATIVE">);
/**
* Action execution region for the second input axis Default: 'ANY'.
* - `ANY`: Any (Use any axis region for operator execution)
* - `POSITIVE`: Positive (Use positive axis region only for operator execution)
* - `NEGATIVE`: Negative (Use negative axis region only for operator execution)
*/
get axis1_region(): H.Ref<"ANY" | "POSITIVE" | "NEGATIVE">;
set axis1_region(v: H.In<"ANY" | "POSITIVE" | "NEGATIVE">);
/** Pose Location Offset Default: (0.0, 0.0, 0.0). */
get pose_location(): H.Remote<M.Vector>;
set pose_location(v: H.In<M.VectorLike>);
/** Pose Rotation Offset Default: (0.0, 0.0, 0.0). */
get pose_rotation(): H.Remote<M.Euler>;
set pose_rotation(v: H.In<M.Euler | readonly number[]>);
}
/**
* Collection of XR action map bindings
*
* bpy.types.XrActionMapBindings
*/
export interface XrActionMapBindings {
/**
* new
* @param replace_existing Replace any existing binding with the same name
*/
"new"(name: H.In<string>, replace_existing: H.In<boolean>): H.Ptr<R.XrActionMapBinding>;
/**
* new
* @param replace_existing Replace any existing binding with the same name
*/
"new"(kw: {
name: H.In<string>;
/** Replace any existing binding with the same name */
replace_existing: H.In<boolean>;
}): H.Ptr<R.XrActionMapBinding>;
/**
* new_from_binding
* @param binding Binding to use as a reference
*/
new_from_binding(binding: R.XrActionMapBinding): H.Ptr<R.XrActionMapBinding>;
/**
* new_from_binding
* @param binding Binding to use as a reference
*/
new_from_binding(kw: {
/** Binding to use as a reference */
binding: R.XrActionMapBinding;
}): H.Ptr<R.XrActionMapBinding>;
/** remove */
remove(binding: R.XrActionMapBinding): H.Ref<void>;
/** remove */
remove(kw: { binding: R.XrActionMapBinding }): H.Ref<void>;
/** find */
find(name: H.In<string>): H.Ptr<R.XrActionMapBinding>;
/** find */
find(kw: { name: H.In<string> }): H.Ptr<R.XrActionMapBinding>;
}
/** bpy.types.XrActionMapItem */
export interface XrActionMapItem extends R.bpy_struct {
/** Name of the action map item Default: "". */
get name(): H.Ref<string>;
set name(v: H.In<string>);
/**
* Action type Default: 'FLOAT'.
* - `FLOAT`: Float (Float action, representing either a digital or analog button)
* - `VECTOR2D`: Vector2D (2D float vector action, representing a thumbstick or trackpad)
* - `POSE`: Pose (3D pose action, representing a controller's location and rotation)
* - `VIBRATION`: Vibration (Haptic vibration output action, to be applied with a duration, frequency, and amplitude)
*/
get type(): H.Ref<"FLOAT" | "VECTOR2D" | "POSE" | "VIBRATION">;
set type(v: H.In<"FLOAT" | "VECTOR2D" | "POSE" | "VIBRATION">);
/** OpenXR user paths */
readonly user_paths: H.Own<H.Coll<R.XrUserPath> & R.XrUserPaths>;
/** Identifier of operator to call on action event Default: "". */
get op(): H.Ref<string>;
set op(v: H.In<string>);
/** Name of operator (translated) to call on action event Default: "". */
get op_name(): H.Ref<string>;
/** Properties to set when the operator is called */
get op_properties(): H.Ptr<R.OperatorProperties>;
/**
* Operator execution mode Default: 'PRESS'.
* - `PRESS`: Press (Execute operator on button press (non-modal operators only))
* - `RELEASE`: Release (Execute operator on button release (non-modal operators only))
* - `MODAL`: Modal (Use modal execution (modal operators only))
*/
get op_mode(): H.Ref<"PRESS" | "RELEASE" | "MODAL">;
set op_mode(v: H.In<"PRESS" | "RELEASE" | "MODAL">);
/** The action depends on the states/poses of both user paths Default: False. */
get bimanual(): H.Ref<boolean>;
set bimanual(v: H.In<boolean>);
/** The action poses will be used for the VR controller grips Default: False. */
get pose_is_controller_grip(): H.Ref<boolean>;
set pose_is_controller_grip(v: H.In<boolean>);
/** The action poses will be used for the VR controller aims Default: False. */
get pose_is_controller_aim(): H.Ref<boolean>;
set pose_is_controller_aim(v: H.In<boolean>);
/** Name of the haptic action to apply when executing this action Default: "". */
get haptic_name(): H.Ref<string>;
set haptic_name(v: H.In<string>);
/** Apply haptics to the same user paths for the haptic action and this action Default: False. */
get haptic_match_user_paths(): H.Ref<boolean>;
set haptic_match_user_paths(v: H.In<boolean>);
/** Haptic duration in seconds. 0.0 is the minimum supported duration. Range: 0 to inf. Default: 0.0. */
get haptic_duration(): H.Ref<number>;
set haptic_duration(v: H.In<number>);
/** Frequency of the haptic vibration in hertz. 0.0 specifies the OpenXR runtime's default frequency. Range: 0 to inf. Default: 0.0. */
get haptic_frequency(): H.Ref<number>;
set haptic_frequency(v: H.In<number>);
/** Intensity of the haptic vibration, ranging from 0.0 to 1.0 Range: 0 to 1. Default: 0.0. */
get haptic_amplitude(): H.Ref<number>;
set haptic_amplitude(v: H.In<number>);
/**
* Haptic application mode Default: 'PRESS'.
* - `PRESS`: Press (Apply haptics on button press)
* - `RELEASE`: Release (Apply haptics on button release)
* - `PRESS_RELEASE`: Press Release (Apply haptics on button press and release)
* - `REPEAT`: Repeat (Apply haptics repeatedly for the duration of the button press)
*/
get haptic_mode(): H.Ref<"PRESS" | "RELEASE" | "PRESS_RELEASE" | "REPEAT">;
set haptic_mode(v: H.In<"PRESS" | "RELEASE" | "PRESS_RELEASE" | "REPEAT">);
/** Bindings for the action map item, mapping the action to an XR input */
readonly bindings: H.Own<H.Coll<R.XrActionMapBinding> & R.XrActionMapBindings>;
/** Currently selected binding Range: -32768 to 32767. Default: 0. */
get selected_binding(): H.Ref<number>;
set selected_binding(v: H.In<number>);
}
/**
* Collection of XR action map items
*
* bpy.types.XrActionMapItems
*/
export interface XrActionMapItems {
/**
* new
* @param replace_existing Replace any existing item with the same name
*/
"new"(name: H.In<string>, replace_existing: H.In<boolean>): H.Ptr<R.XrActionMapItem>;
/**
* new
* @param replace_existing Replace any existing item with the same name
*/
"new"(kw: {
name: H.In<string>;
/** Replace any existing item with the same name */
replace_existing: H.In<boolean>;
}): H.Ptr<R.XrActionMapItem>;
/**
* new_from_item
* @param item Item to use as a reference
*/
new_from_item(item: R.XrActionMapItem): H.Ptr<R.XrActionMapItem>;
/**
* new_from_item
* @param item Item to use as a reference
*/
new_from_item(kw: {
/** Item to use as a reference */
item: R.XrActionMapItem;
}): H.Ptr<R.XrActionMapItem>;
/** remove */
remove(item: R.XrActionMapItem): H.Ref<void>;
/** remove */
remove(kw: { item: R.XrActionMapItem }): H.Ref<void>;
/** find */
find(name: H.In<string>): H.Ptr<R.XrActionMapItem>;
/** find */
find(kw: { name: H.In<string> }): H.Ptr<R.XrActionMapItem>;
}
/**
* Collection of XR action maps
*
* bpy.types.XrActionMaps
*/
export interface XrActionMaps {
/**
* new
* @param replace_existing Replace any existing actionmap with the same name
*/
"new"(xr_session_state: R.XrSessionState, name: H.In<string>, replace_existing: H.In<boolean>): H.Ptr<R.XrActionMap>;
/**
* new
* @param replace_existing Replace any existing actionmap with the same name
*/
"new"(kw: {
xr_session_state: R.XrSessionState;
name: H.In<string>;
/** Replace any existing actionmap with the same name */
replace_existing: H.In<boolean>;
}): H.Ptr<R.XrActionMap>;
/**
* new_from_actionmap
* @param actionmap Action map to use as a reference
*/
new_from_actionmap(xr_session_state: R.XrSessionState, actionmap: R.XrActionMap): H.Ptr<R.XrActionMap>;
/**
* new_from_actionmap
* @param actionmap Action map to use as a reference
*/
new_from_actionmap(kw: {
xr_session_state: R.XrSessionState;
/** Action map to use as a reference */
actionmap: R.XrActionMap;
}): H.Ptr<R.XrActionMap>;
/**
* remove
* @param actionmap Removed action map
*/
remove(xr_session_state: R.XrSessionState, actionmap: R.XrActionMap): H.Ref<void>;
/**
* remove
* @param actionmap Removed action map
*/
remove(kw: {
xr_session_state: R.XrSessionState;
/** Removed action map */
actionmap: R.XrActionMap;
}): H.Ref<void>;
/** find */
find(xr_session_state: R.XrSessionState, name: H.In<string>): H.Ptr<R.XrActionMap>;
/** find */
find(kw: { xr_session_state: R.XrSessionState; name: H.In<string> }): H.Ptr<R.XrActionMap>;
}
/** bpy.types.XrComponentPath */
export interface XrComponentPath extends R.bpy_struct {
/** OpenXR component path Default: "". */
get path(): H.Ref<string>;
set path(v: H.In<string>);
}
/**
* Collection of OpenXR component paths
*
* bpy.types.XrComponentPaths
*/
export interface XrComponentPaths {
/**
* new
* @param path OpenXR component path
*/
"new"(path: H.In<string>): H.Ptr<R.XrComponentPath>;
/**
* new
* @param path OpenXR component path
*/
"new"(kw: {
/** OpenXR component path */
path: H.In<string>;
}): H.Ptr<R.XrComponentPath>;
/** remove */
remove(component_path: R.XrComponentPath): H.Ref<void>;
/** remove */
remove(kw: { component_path: R.XrComponentPath }): H.Ref<void>;
/**
* find
* @param path OpenXR component path
*/
find(path: H.In<string>): H.Ptr<R.XrComponentPath>;
/**
* find
* @param path OpenXR component path
*/
find(kw: {
/** OpenXR component path */
path: H.In<string>;
}): H.Ptr<R.XrComponentPath>;
}
/**
* XR Data for Window Manager Event
*
* bpy.types.XrEventData
*/
export interface XrEventData extends R.bpy_struct {
/** XR action set name Default: "". */
get action_set(): H.Ref<string>;
/** XR action name Default: "". */
get action(): H.Ref<string>;
/** User path of the action. E.g. "/user/hand/left" Default: "". */
get user_path(): H.Ref<string>;
/** Other user path, for bimanual actions. E.g. "/user/hand/right" Default: "". */
get user_path_other(): H.Ref<string>;
/**
* XR action type Default: 'FLOAT'.
* - `FLOAT`: Float (Float action, representing either a digital or analog button)
* - `VECTOR2D`: Vector2D (2D float vector action, representing a thumbstick or trackpad)
* - `POSE`: Pose (3D pose action, representing a controller's location and rotation)
* - `VIBRATION`: Vibration (Haptic vibration output action, to be applied with a duration, frequency, and amplitude)
*/
get type(): H.Ref<"FLOAT" | "VECTOR2D" | "POSE" | "VIBRATION">;
/** XR action values corresponding to type Default: (0.0, 0.0). */
get state(): H.Arr<number>;
/** State of the other user path for bimanual actions Default: (0.0, 0.0). */
get state_other(): H.Arr<number>;
/** Input threshold for float/2D vector actions Default: 0.0. */
get float_threshold(): H.Ref<number>;
/** Location of the action's corresponding controller aim in world space Default: (0.0, 0.0, 0.0). */
get controller_location(): H.Remote<M.Vector>;
/** Rotation of the action's corresponding controller aim in world space Default: (0.0, 0.0, 0.0, 0.0). */
get controller_rotation(): H.Remote<M.Quaternion>;
/** Controller aim location of the other user path for bimanual actions Default: (0.0, 0.0, 0.0). */
get controller_location_other(): H.Remote<M.Vector>;
/** Controller aim rotation of the other user path for bimanual actions Default: (0.0, 0.0, 0.0, 0.0). */
get controller_rotation_other(): H.Remote<M.Quaternion>;
/** Whether bimanual interaction is occurring Default: False. */
get bimanual(): H.Ref<boolean>;
}
/**
* VR navigation settings
*
* bpy.types.XrNavigation
*/
export interface XrNavigation extends R.bpy_struct {
/** Intensity of vignette that appears when moving Range: 0 to 100. Default: 70.0. */
get vignette_intensity(): H.Ref<number>;
set vignette_intensity(v: H.In<number>);
/** Turn speed in degrees per second Range: 0 to inf. Default: 1.0472. */
get turn_speed(): H.Ref<number>;
set turn_speed(v: H.In<number>);
/** Amount in degrees per turn when using snap turn Range: 0 to 6.2831854820251465. Default: 0.523599. */
get turn_amount(): H.Ref<number>;
set turn_amount(v: H.In<number>);
/** Instantly rotates the camera by a fixed angle instead of smoothly turning Default: True. */
get snap_turn(): H.Ref<boolean>;
set snap_turn(v: H.In<boolean>);
/** Reverses the direction of rotation input Default: False. */
get invert_rotation(): H.Ref<boolean>;
set invert_rotation(v: H.In<boolean>);
}
/** bpy.types.XrSessionSettings */
export interface XrSessionSettings extends R.bpy_struct {
/** Shading Settings */
get shading(): H.Own<R.View3DShading>;
/**
* Define where the location and rotation for the VR view come from, to which translation and rotation deltas from the VR headset will be applied to Default: 'SCENE_CAMERA'.
* - `SCENE_CAMERA`: Scene Camera (Follow the active scene camera to define the VR view's base pose)
* - `OBJECT`: Object (Follow the transformation of an object to define the VR view's base pose)
* - `CUSTOM`: Custom (Follow a custom transformation to define the VR view's base pose)
*/
get base_pose_type(): H.Ref<"SCENE_CAMERA" | "OBJECT" | "CUSTOM">;
set base_pose_type(v: H.In<"SCENE_CAMERA" | "OBJECT" | "CUSTOM">);
/** Object to take the location and rotation to which translation and rotation deltas from the VR headset will be applied to */
get base_pose_object(): H.Ptr<R.Object>;
set base_pose_object(v: R.Object | null);
/** Coordinates to apply translation deltas from the VR headset to Default: (0.0, 0.0, 0.0). */
get base_pose_location(): H.Remote<M.Vector>;
set base_pose_location(v: H.In<M.VectorLike>);
/** Rotation angle around the Z-Axis to apply the rotation deltas from the VR headset to Default: 0.0. */
get base_pose_angle(): H.Ref<number>;
set base_pose_angle(v: H.In<number>);
/** Uniform base pose scale to apply to VR view Range: 9.999999974752427e-7 to inf. Default: 1.0. */
get base_scale(): H.Ref<number>;
set base_scale(v: H.In<number>);
/** Show the ground plane grid Default: False. */
get show_floor(): H.Ref<boolean>;
set show_floor(v: H.In<boolean>);
/** Show the passthrough view Default: False. */
get show_passthrough(): H.Ref<boolean>;
set show_passthrough(v: H.In<boolean>);
/** Show annotations for this view Default: False. */
get show_annotation(): H.Ref<boolean>;
set show_annotation(v: H.In<boolean>);
/** Show selection outlines Default: False. */
get show_selection(): H.Ref<boolean>;
set show_selection(v: H.In<boolean>);
/** Show VR controllers (requires VR actions for controller poses) Default: False. */
get show_controllers(): H.Ref<boolean>;
set show_controllers(v: H.In<boolean>);
/** Show custom VR overlays Default: False. */
get show_custom_overlays(): H.Ref<boolean>;
set show_custom_overlays(v: H.In<boolean>);
/** Show object extras, including empties, lights, and cameras Default: False. */
get show_object_extras(): H.Ref<boolean>;
set show_object_extras(v: H.In<boolean>);
/**
* Style to use when drawing VR controllers Default: 'DARK'.
* - `DARK`: Dark (Draw dark controller)
* - `LIGHT`: Light (Draw light controller)
* - `DARK_RAY`: Dark + Ray (Draw dark controller with aiming axis ray)
* - `LIGHT_RAY`: Light + Ray (Draw light controller with aiming axis ray)
*/
get controller_draw_style(): H.Ref<"DARK" | "LIGHT" | "DARK_RAY" | "LIGHT_RAY">;
set controller_draw_style(v: H.In<"DARK" | "LIGHT" | "DARK_RAY" | "LIGHT_RAY">);
/** Enable the Location Scouting Viewfinder Default: True. */
get viewfinder_enabled(): H.Ref<boolean>;
set viewfinder_enabled(v: H.In<boolean>);
/**
* Hand on which to place the Location Scouting Viewfinder Default: 'LEFT'.
* - `LEFT`: Left (Place the viewfinder on the left hand controller)
* - `RIGHT`: Right (Place the viewfinder on the right hand controller)
*/
get viewfinder_hand(): H.Ref<"LEFT" | "RIGHT">;
set viewfinder_hand(v: H.In<"LEFT" | "RIGHT">);
/** Location Scouting Viewfinder size scale Range: -3 to inf. Default: 1.0. */
get viewfinder_scale(): H.Ref<number>;
set viewfinder_scale(v: H.In<number>);
/** Enable the Viewfinder Crosshair Default: True. */
get viewfinder_crosshair_enabled(): H.Ref<boolean>;
set viewfinder_crosshair_enabled(v: H.In<boolean>);
/** Border size of the Viewfinder Passepartout overlay Range: 0 to 1. Default: 0.5. */
get viewfinder_passepartout_overscan(): H.Ref<number>;
set viewfinder_passepartout_overscan(v: H.In<number>);
/** Opacity of the darkened Viewfinder Passepartout overlay Range: 0 to 1. Default: 0.5. */
get viewfinder_passepartout_opacity(): H.Ref<number>;
set viewfinder_passepartout_opacity(v: H.In<number>);
/** VR viewport near clipping distance Range: 9.999999974752427e-7 to inf. Default: 0.0. */
get clip_start(): H.Ref<number>;
set clip_start(v: H.In<number>);
/** VR viewport far clipping distance Range: 9.999999974752427e-7 to inf. Default: 0.0. */
get clip_end(): H.Ref<number>;
set clip_end(v: H.In<number>);
/** Fly speed in meters per second Range: 9.999999974752427e-7 to inf. Default: 0.0. */
get fly_speed(): H.Ref<number>;
set fly_speed(v: H.In<number>);
/** Scaling factor applied to the VR view for fine adjustements. Modifying this value will keep the viewer at the same world relative position Range: 9.999999974752427e-7 to inf. Default: 1.0. */
get view_scale(): H.Ref<number>;
set view_scale(v: H.In<number>);
/** Allow VR headsets to affect the location in virtual space, in addition to the rotation Default: False. */
get use_positional_tracking(): H.Ref<boolean>;
set use_positional_tracking(v: H.In<boolean>);
/** Allow the VR tracking origin to be defined independently of the headset location Default: False. */
get use_absolute_tracking(): H.Ref<boolean>;
set use_absolute_tracking(v: H.In<boolean>);
/** Show mesh objects Default: True. */
get show_object_viewport_mesh(): H.Ref<boolean>;
set show_object_viewport_mesh(v: H.In<boolean>);
/** Show curves Default: True. */
get show_object_viewport_curve(): H.Ref<boolean>;
set show_object_viewport_curve(v: H.In<boolean>);
/** Show surfaces Default: True. */
get show_object_viewport_surf(): H.Ref<boolean>;
set show_object_viewport_surf(v: H.In<boolean>);
/** Show metaballs Default: True. */
get show_object_viewport_meta(): H.Ref<boolean>;
set show_object_viewport_meta(v: H.In<boolean>);
/** Show text objects Default: True. */
get show_object_viewport_font(): H.Ref<boolean>;
set show_object_viewport_font(v: H.In<boolean>);
/** Show hair curves Default: True. */
get show_object_viewport_curves(): H.Ref<boolean>;
set show_object_viewport_curves(v: H.In<boolean>);
/** Show point clouds Default: True. */
get show_object_viewport_pointcloud(): H.Ref<boolean>;
set show_object_viewport_pointcloud(v: H.In<boolean>);
/** Show volumes Default: True. */
get show_object_viewport_volume(): H.Ref<boolean>;
set show_object_viewport_volume(v: H.In<boolean>);
/** Show armatures Default: True. */
get show_object_viewport_armature(): H.Ref<boolean>;
set show_object_viewport_armature(v: H.In<boolean>);
/** Show lattices Default: True. */
get show_object_viewport_lattice(): H.Ref<boolean>;
set show_object_viewport_lattice(v: H.In<boolean>);
/** Show empties Default: True. */
get show_object_viewport_empty(): H.Ref<boolean>;
set show_object_viewport_empty(v: H.In<boolean>);
/** Show Grease Pencil objects Default: True. */
get show_object_viewport_grease_pencil(): H.Ref<boolean>;
set show_object_viewport_grease_pencil(v: H.In<boolean>);
/** Show cameras Default: True. */
get show_object_viewport_camera(): H.Ref<boolean>;
set show_object_viewport_camera(v: H.In<boolean>);
/** Show lights Default: True. */
get show_object_viewport_light(): H.Ref<boolean>;
set show_object_viewport_light(v: H.In<boolean>);
/** Show speakers Default: True. */
get show_object_viewport_speaker(): H.Ref<boolean>;
set show_object_viewport_speaker(v: H.In<boolean>);
/** Show light probes Default: True. */
get show_object_viewport_light_probe(): H.Ref<boolean>;
set show_object_viewport_light_probe(v: H.In<boolean>);
/** Allow selection of mesh objects Default: True. */
get show_object_select_mesh(): H.Ref<boolean>;
set show_object_select_mesh(v: H.In<boolean>);
/** Allow selection of curves Default: True. */
get show_object_select_curve(): H.Ref<boolean>;
set show_object_select_curve(v: H.In<boolean>);
/** Allow selection of surfaces Default: True. */
get show_object_select_surf(): H.Ref<boolean>;
set show_object_select_surf(v: H.In<boolean>);
/** Allow selection of metaballs Default: True. */
get show_object_select_meta(): H.Ref<boolean>;
set show_object_select_meta(v: H.In<boolean>);
/** Allow selection of text objects Default: True. */
get show_object_select_font(): H.Ref<boolean>;
set show_object_select_font(v: H.In<boolean>);
/** Allow selection of hair curves Default: True. */
get show_object_select_curves(): H.Ref<boolean>;
set show_object_select_curves(v: H.In<boolean>);
/** Allow selection of point clouds Default: True. */
get show_object_select_pointcloud(): H.Ref<boolean>;
set show_object_select_pointcloud(v: H.In<boolean>);
/** Allow selection of volumes Default: True. */
get show_object_select_volume(): H.Ref<boolean>;
set show_object_select_volume(v: H.In<boolean>);
/** Allow selection of armatures Default: True. */
get show_object_select_armature(): H.Ref<boolean>;
set show_object_select_armature(v: H.In<boolean>);
/** Allow selection of lattices Default: True. */
get show_object_select_lattice(): H.Ref<boolean>;
set show_object_select_lattice(v: H.In<boolean>);
/** Allow selection of empties Default: True. */
get show_object_select_empty(): H.Ref<boolean>;
set show_object_select_empty(v: H.In<boolean>);
/** Allow selection of Grease Pencil objects Default: True. */
get show_object_select_grease_pencil(): H.Ref<boolean>;
set show_object_select_grease_pencil(v: H.In<boolean>);
/** Allow selection of cameras Default: True. */
get show_object_select_camera(): H.Ref<boolean>;
set show_object_select_camera(v: H.In<boolean>);
/** Allow selection of lights Default: True. */
get show_object_select_light(): H.Ref<boolean>;
set show_object_select_light(v: H.In<boolean>);
/** Allow selection of speakers Default: True. */
get show_object_select_speaker(): H.Ref<boolean>;
set show_object_select_speaker(v: H.In<boolean>);
/** Allow selection of light probes Default: True. */
get show_object_select_light_probe(): H.Ref<boolean>;
set show_object_select_light_probe(v: H.In<boolean>);
/** Visibility Icon Range: -2147483648 to 2147483647. Default: 0. */
get icon_from_show_object_viewport(): H.Ref<number>;
}
/**
* Runtime state information about the VR session
*
* bpy.types.XrSessionState
*/
export interface XrSessionState extends R.bpy_struct {
/** Viewfinder State */
get viewfinder(): H.Ptr<R.XrViewfinderState>;
/** Last known location of the viewer pose (center between the eyes) in world space Default: (0.0, 0.0, 0.0). */
get viewer_pose_location(): H.Remote<M.Vector>;
/** Last known rotation of the viewer pose (center between the eyes) in world space Default: (0.0, 0.0, 0.0, 0.0). */
get viewer_pose_rotation(): H.Remote<M.Quaternion>;
/** Location offset to apply to base pose when determining viewer location Default: (0.0, 0.0, 0.0). */
get navigation_location(): H.Remote<M.Vector>;
set navigation_location(v: H.In<M.VectorLike>);
/** Rotation offset to apply to base pose when determining viewer rotation Default: (0.0, 0.0, 0.0, 0.0). */
get navigation_rotation(): H.Remote<M.Quaternion>;
set navigation_rotation(v: H.In<M.QuaternionLike>);
/** Navigation scale multiplier applied when determining viewer scale Default: 0.0. */
get navigation_scale(): H.Ref<number>;
set navigation_scale(v: H.In<number>);
/** Viewer XR scale factor, computed from the navigation scale, view scale session setting, and active scene unit scale Default: 0.0. */
get viewer_scale(): H.Ref<number>;
/** XR Action Maps */
readonly actionmaps: H.Own<H.Coll<R.XrActionMap> & R.XrActionMaps>;
/** Active Action Map Range: -2147483648 to 2147483647. Default: 0. */
get active_actionmap(): H.Ref<number>;
set active_actionmap(v: H.In<number>);
/** Selected Action Map Range: -2147483648 to 2147483647. Default: 0. */
get selected_actionmap(): H.Ref<number>;
set selected_actionmap(v: H.In<number>);
/** Query if the VR session is currently running */
is_running(context: R.Context): H.Ref<boolean>;
/** Query if the VR session is currently running */
is_running(kw: { context: R.Context }): H.Ref<boolean>;
/** Force resetting of position and rotation deltas */
reset_to_base_pose(context: R.Context): H.Ref<void>;
/** Force resetting of position and rotation deltas */
reset_to_base_pose(kw: { context: R.Context }): H.Ref<void>;
/** Create a VR action set */
action_set_create(context: R.Context, actionmap: R.XrActionMap): H.Ref<boolean>;
/** Create a VR action set */
action_set_create(kw: { context: R.Context; actionmap: R.XrActionMap }): H.Ref<boolean>;
/** Create a VR action */
action_create(context: R.Context, actionmap: R.XrActionMap, actionmap_item: R.XrActionMapItem): H.Ref<boolean>;
/** Create a VR action */
action_create(kw: { context: R.Context; actionmap: R.XrActionMap; actionmap_item: R.XrActionMapItem }): H.Ref<boolean>;
/** Create a VR action binding */
action_binding_create(context: R.Context, actionmap: R.XrActionMap, actionmap_item: R.XrActionMapItem, actionmap_binding: R.XrActionMapBinding): H.Ref<boolean>;
/** Create a VR action binding */
action_binding_create(kw: {
context: R.Context;
actionmap: R.XrActionMap;
actionmap_item: R.XrActionMapItem;
actionmap_binding: R.XrActionMapBinding;
}): H.Ref<boolean>;
/**
* Set the active VR action set
* @param action_set Action set name
*/
active_action_set_set(context: R.Context, action_set: H.In<string>): H.Ref<boolean>;
/**
* Set the active VR action set
* @param action_set Action set name
*/
active_action_set_set(kw: {
context: R.Context;
/** Action set name */
action_set: H.In<string>;
}): H.Ref<boolean>;
/**
* Set the actions that determine the VR controller poses
* @param action_set Action set name
* @param grip_action Name of the action representing the controller grips
* @param aim_action Name of the action representing the controller aims
*/
controller_pose_actions_set(context: R.Context, action_set: H.In<string>, grip_action: H.In<string>, aim_action: H.In<string>): H.Ref<boolean>;
/**
* Set the actions that determine the VR controller poses
* @param action_set Action set name
* @param grip_action Name of the action representing the controller grips
* @param aim_action Name of the action representing the controller aims
*/
controller_pose_actions_set(kw: {
context: R.Context;
/** Action set name */
action_set: H.In<string>;
/** Name of the action representing the controller grips */
grip_action: H.In<string>;
/** Name of the action representing the controller aims */
aim_action: H.In<string>;
}): H.Ref<boolean>;
/**
* Get the current state of a VR action
* @param action_set_name Action set name
* @param action_name Action name
* @param user_path OpenXR user path
*/
action_state_get(context: R.Context, action_set_name: H.In<string>, action_name: H.In<string>, user_path: H.In<string>): H.Arr<number>;
/**
* Get the current state of a VR action
* @param action_set_name Action set name
* @param action_name Action name
* @param user_path OpenXR user path
*/
action_state_get(kw: {
context: R.Context;
/** Action set name */
action_set_name: H.In<string>;
/** Action name */
action_name: H.In<string>;
/** OpenXR user path */
user_path: H.In<string>;
}): H.Arr<number>;
/**
* Apply a VR haptic action
* @param action_set_name Action set name
* @param action_name Action name
* @param user_path Optional OpenXR user path. If not set, the action will be applied to all paths.
* @param duration Haptic duration in seconds. 0.0 is the minimum supported duration.
* @param frequency Frequency of the haptic vibration in hertz. 0.0 specifies the OpenXR runtime's default frequency.
* @param amplitude Haptic amplitude, ranging from 0.0 to 1.0
*/
haptic_action_apply(context: R.Context, action_set_name: H.In<string>, action_name: H.In<string>, user_path: H.In<string>, duration: H.In<number>, frequency: H.In<number>, amplitude: H.In<number>): H.Ref<boolean>;
/**
* Apply a VR haptic action
* @param action_set_name Action set name
* @param action_name Action name
* @param user_path Optional OpenXR user path. If not set, the action will be applied to all paths.
* @param duration Haptic duration in seconds. 0.0 is the minimum supported duration.
* @param frequency Frequency of the haptic vibration in hertz. 0.0 specifies the OpenXR runtime's default frequency.
* @param amplitude Haptic amplitude, ranging from 0.0 to 1.0
*/
haptic_action_apply(kw: {
context: R.Context;
/** Action set name */
action_set_name: H.In<string>;
/** Action name */
action_name: H.In<string>;
/** Optional OpenXR user path. If not set, the action will be applied to all paths. */
user_path: H.In<string>;
/** Haptic duration in seconds. 0.0 is the minimum supported duration. */
duration: H.In<number>;
/** Frequency of the haptic vibration in hertz. 0.0 specifies the OpenXR runtime's default frequency. */
frequency: H.In<number>;
/** Haptic amplitude, ranging from 0.0 to 1.0 */
amplitude: H.In<number>;
}): H.Ref<boolean>;
/**
* Stop a VR haptic action
* @param action_set_name Action set name
* @param action_name Action name
* @param user_path Optional OpenXR user path. If not set, the action will be stopped for all paths.
*/
haptic_action_stop(context: R.Context, action_set_name: H.In<string>, action_name: H.In<string>, user_path: H.In<string>): H.Ref<void>;
/**
* Stop a VR haptic action
* @param action_set_name Action set name
* @param action_name Action name
* @param user_path Optional OpenXR user path. If not set, the action will be stopped for all paths.
*/
haptic_action_stop(kw: {
context: R.Context;
/** Action set name */
action_set_name: H.In<string>;
/** Action name */
action_name: H.In<string>;
/** Optional OpenXR user path. If not set, the action will be stopped for all paths. */
user_path: H.In<string>;
}): H.Ref<void>;
/**
* Get the last known controller grip location in world space
* @param index Controller index
*/
controller_grip_location_get(context: R.Context, index: H.In<number>): H.Remote<M.Vector>;
/**
* Get the last known controller grip location in world space
* @param index Controller index
*/
controller_grip_location_get(kw: {
context: R.Context;
/** Controller index */
index: H.In<number>;
}): H.Remote<M.Vector>;
/**
* Get the last known controller grip rotation (quaternion) in world space
* @param index Controller index
*/
controller_grip_rotation_get(context: R.Context, index: H.In<number>): H.Remote<M.Quaternion>;
/**
* Get the last known controller grip rotation (quaternion) in world space
* @param index Controller index
*/
controller_grip_rotation_get(kw: {
context: R.Context;
/** Controller index */
index: H.In<number>;
}): H.Remote<M.Quaternion>;
/**
* Get the last known controller aim location in world space
* @param index Controller index
*/
controller_aim_location_get(context: R.Context, index: H.In<number>): H.Remote<M.Vector>;
/**
* Get the last known controller aim location in world space
* @param index Controller index
*/
controller_aim_location_get(kw: {
context: R.Context;
/** Controller index */
index: H.In<number>;
}): H.Remote<M.Vector>;
/**
* Get the last known controller aim rotation (quaternion) in world space
* @param index Controller index
*/
controller_aim_rotation_get(context: R.Context, index: H.In<number>): H.Remote<M.Quaternion>;
/**
* Get the last known controller aim rotation (quaternion) in world space
* @param index Controller index
*/
controller_aim_rotation_get(kw: {
context: R.Context;
/** Controller index */
index: H.In<number>;
}): H.Remote<M.Quaternion>;
}
/** bpy.types.XrUserPath */
export interface XrUserPath extends R.bpy_struct {
/** OpenXR user path Default: "". */
get path(): H.Ref<string>;
set path(v: H.In<string>);
}
/**
* Collection of OpenXR user paths
*
* bpy.types.XrUserPaths
*/
export interface XrUserPaths {
/**
* new
* @param path OpenXR user path
*/
"new"(path: H.In<string>): H.Ptr<R.XrUserPath>;
/**
* new
* @param path OpenXR user path
*/
"new"(kw: {
/** OpenXR user path */
path: H.In<string>;
}): H.Ptr<R.XrUserPath>;
/** remove */
remove(user_path: R.XrUserPath): H.Ref<void>;
/** remove */
remove(kw: { user_path: R.XrUserPath }): H.Ref<void>;
/**
* find
* @param path OpenXR user path
*/
find(path: H.In<string>): H.Ptr<R.XrUserPath>;
/**
* find
* @param path OpenXR user path
*/
find(kw: {
/** OpenXR user path */
path: H.In<string>;
}): H.Ptr<R.XrUserPath>;
}
/**
* Runtime state information about the VR Location Scouting Viewfinder
*
* bpy.types.XrViewfinderState
*/
export interface XrViewfinderState extends R.bpy_struct {
/** Last known location of the viewfinder in world space Default: (0.0, 0.0, 0.0). */
get location(): H.Remote<M.Vector>;
/** Last known orientation of the viewfinder in world space Default: (0.0, 0.0, 0.0, 0.0). */
get orientation(): H.Remote<M.Quaternion>;
/** Enable viewfinder capture depth of field Default: False. */
get capture_dof_enabled(): H.Ref<boolean>;
set capture_dof_enabled(v: H.In<boolean>);
/** Viewfinder capture focal length value in millimeters Default: 0.0. */
get capture_lens_focal(): H.Ref<number>;
set capture_lens_focal(v: H.In<number>);
/** Viewfinder capture distance to the focus point for depth of field Default: 0.0. */
get capture_dof_distance(): H.Ref<number>;
set capture_dof_distance(v: H.In<number>);
/** Viewfinder capture f-stop ratio Default: 0.0. */
get capture_dof_fstop(): H.Ref<number>;
set capture_dof_fstop(v: H.In<number>);
/** Display active capture in space when in Viewfinder Playback mode Default: False. */
get playback_show_active_capture_in_space_enabled(): H.Ref<boolean>;
set playback_show_active_capture_in_space_enabled(v: H.In<boolean>);
/**
* Active viewfinder mode, live or playback Default: 'LIVE'.
* - `LIVE`: Live Mode (Capture a shot using the viewfinder)
* - `PLAYBACK`: Playback Mode (Preview and playback captured shots in the viewfinder)
* - `CONFIRM`: Confirmation Mode (Confirm user action)
*/
get active_mode(): H.Ref<"LIVE" | "PLAYBACK" | "CONFIRM">;
set active_mode(v: H.In<"LIVE" | "PLAYBACK" | "CONFIRM">);
/**
* Active viewfinder live action Default: 'LENS'.
* - `LENS`: Focal Length Control
* - `DOF`: Toggle Depth of Field
* - `FOCUS`: Set Focus Point
* - `APERTURE`: Aperture Control
*/
get active_action_live(): H.Ref<"LENS" | "DOF" | "FOCUS" | "APERTURE">;
set active_action_live(v: H.In<"LENS" | "DOF" | "FOCUS" | "APERTURE">);
/**
* Active viewfinder playback action Default: 'BROWSE'.
* - `BROWSE`: Browse captured shots
* - `PREVIEW`: Preview selected shot in space
* - `DELETE`: Delete selected shot
*/
get active_action_playback(): H.Ref<"BROWSE" | "PREVIEW" | "DELETE">;
set active_action_playback(v: H.In<"BROWSE" | "PREVIEW" | "DELETE">);
/**
* Active viewfinder confirm action Default: 'CONFIRM'.
* - `CANCEL`: Cancel
* - `CONFIRM`: Confirm
*/
get active_action_confirm(): H.Ref<"CANCEL" | "CONFIRM">;
set active_action_confirm(v: H.In<"CANCEL" | "CONFIRM">);
/** Trigger the Viewfinder flash to indicate a shot was captured */
trigger_flash(): H.Ref<void>;
/**
* Blink the Viewfinder crosshair to indicate whether a focus action hit a target
* @param hit_success True to blink the success color, False to blink the miss color
*/
trigger_focus_indicator(hit_success: H.In<boolean>): H.Ref<void>;
/**
* Blink the Viewfinder crosshair to indicate whether a focus action hit a target
* @param hit_success True to blink the success color, False to blink the miss color
*/
trigger_focus_indicator(kw: {
/** True to blink the success color, False to blink the miss color */
hit_success: H.In<boolean>;
}): H.Ref<void>;
/** Reset the Viewfinder continuous view smoothing */
reset_view_smoothing(): H.Ref<void>;
}