unreal.LensDistortionComponent
¶
- class unreal.LensDistortionComponent(outer=None, name='None')¶
Bases:
unreal.ActorComponent
Component for applying a post-process lens distortion effect to a CineCameraComponent on the same actor
C++ Source:
Plugin: CameraCalibration
Module: CameraCalibration
File: LensDistortionComponent.h
Editor Properties: (see get_editor_property/set_editor_property)
apply_distortion
(bool): [Read-Write] Whether or not to apply distortion to the target camera componentasset_user_data
(Array(AssetUserData)): [Read-Write] Array of user data stored with the componentauto_activate
(bool): [Read-Write] Whether the component is activated at creation or must be explicitly activated.can_ever_affect_navigation
(bool): [Read-Write] Whether this component can potentially influence navigationcomponent_tags
(Array(Name)): [Read-Write] Array of tags that can be used for grouping and categorizing. Can also be accessed from scripting.distortion_source
(DistortionHandlerPicker): [Read-Write] Structure used to query the camera calibration subsystem for a lens distortion model handlereditable_when_inherited
(bool): [Read-Write] True if this component can be modified when it was inherited from a parent actor classevaluate_lens_file_for_distortion
(bool): [Read-Write] Whether to use the specified lens file to drive distortion Enabling this will create a new distortion source and automatically set this component to use itis_editor_only
(bool): [Read-Write] If true, the component will be excluded from non-editor buildslens_file_picker
(LensFilePicker): [Read-Write] Lens File used to drive distortion with current camera settingson_component_activated
(ActorComponentActivatedSignature): [Read-Write] Called when the component has been activated, with parameter indicating if it was from a reseton_component_deactivated
(ActorComponentDeactivateSignature): [Read-Write] Called when the component has been deactivatedoverscan_multiplier
(float): [Read-Write] The percentage of the computed overscan that should be applied to the target cameraprimary_component_tick
(ActorComponentTickFunction): [Read-Write] Main tick function for the Componentreplicates
(bool): [Read-Write] Is this component currently replicating? Should the network code consider it for replication? Owning Actor must be replicating first!scale_overscan
(bool): [Read-Write] Whether to scale the computed overscan by the overscan percentagetarget_camera_component
(ComponentReference): [Read-Write] The CineCameraComponent on which to apply the post-process distortion effect
- property apply_distortion¶
[Read-Write] Whether or not to apply distortion to the target camera component
- Type
(bool)
- property distortion_source¶
[Read-Write] Structure used to query the camera calibration subsystem for a lens distortion model handler
- Type