unreal.PoseSearchFeatureChannel_Distance¶
- class unreal.PoseSearchFeatureChannel_Distance(outer: Object | None = None, name: Name | str = 'None')¶
Bases:
PoseSearchFeatureChannelPose Search Feature Channel Distance
C++ Source:
Plugin: PoseSearch
Module: PoseSearch
File: PoseSearchFeatureChannel_Distance.h
Editor Properties: (see get_editor_property/set_editor_property)
bone(BoneReference): [Read-Write]debug_color(LinearColor): [Read-Write]default_with_root_bone(bool): [Read-Write] Experimental, this feature might be removed without warning, not for production use if bDefaultWithRootBone is true Bone.BoneName and OriginBone.BoneName get initialized to the associated skeleton root bone if equals to NAME_None, otherwise transforms from the trajectory will be usedinput_query_pose(InputQueryPose): [Read-Write]max_distance(float): [Read-Write] Experimental, this feature might be removed without warning, not for production use During pose selection if the distance between query versus candidate poses for this distance channel is greater than MaxDistance the candidate will be discarded. the filtering will be enabled only for MaxDistance > 0normalization_group(Name): [Read-Write] if set, all the channels of the same class with the same cardinality, and the same NormalizationGroup, will be normalized together. for example in a locomotion database of a character holding a weapon, containing non mirrorable animations, you’d still want to normalize together all the distancesorigin_bone(BoneReference): [Read-Write]origin_role(Name): [Read-Write]origin_time_offset(float): [Read-Write] the data relative to the sampling time associated to this channel origin (root / trajectory bone) will be offsetted by OriginTimeOffset seconds. For example, if Bone is the head bone, SampleTimeOffset is 0.5, and OriginTimeOffset is 0.5, this channel will try to match the future distance of the character head bone 0.5 seconds ahead, relative to the future root bone 0.5 seconds aheadpermutation_time_type(PermutationTimeType): [Read-Write]sample_role(Name): [Read-Write]sample_time_offset(float): [Read-Write] the data relative to the sampling time associated to this channel will be offsetted by SampleTimeOffset seconds. For example, if Bone is the head bone, and SampleTimeOffset is 0.5, this channel will try to match the future distance of the character head bone 0.5 seconds aheadsampling_attribute_id(int32): [Read-Write] if SamplingAttributeId >= 0, ALL the animations contained in the pose search database referencing the schema containing this channel are expected to have UAnimNotifyState_PoseSearchSamplingAttribute notify state with a matching SamplingAttributeId, and the UAnimNotifyState_PoseSearchSamplingAttribute properties will be used as source of data instead of this channel “Bone”. UAnimNotifyState_PoseSearchSamplingAttribute properties will be then converted into OriginBone spaceweight(float): [Read-Write]
- bp_get_distance(context) -> (float, context=ChooserEvaluationContext)¶
BP Get Distance
- Parameters:
context (ChooserEvaluationContext)
- Returns:
context (ChooserEvaluationContext):
- Return type: