TopDown Engine v4.3
MoreMountains.Feedbacks.MMF_RectTransformAnchor Class Reference

This feedback lets you control the min and max anchors of a RectTransform over time. That's the normalized position in the parent RectTransform that the lower left and upper right corners are anchored to. More...

Inheritance diagram for MoreMountains.Feedbacks.MMF_RectTransformAnchor:
MoreMountains.Feedbacks.MMF_FeedbackBase MoreMountains.Feedbacks.MMF_Feedback

Public Attributes

RectTransform TargetRectTransform
 the target RectTransform to control More...
 
bool ModifyAnchorMin = true
 whether or not to modify the min anchor More...
 
MMTweenType AnchorMinCurve = new MMTweenType(new AnimationCurve(new Keyframe(0, 0), new Keyframe(1, 1)))
 the curve to animate the min anchor on More...
 
Vector2 AnchorMinRemapZero = Vector2.zero
 the value to remap the min anchor curve's 0 on More...
 
Vector2 AnchorMinRemapOne = Vector2.one
 the value to remap the min anchor curve's 1 on More...
 
bool ModifyAnchorMax = true
 whether or not to modify the max anchor More...
 
MMTweenType AnchorMaxCurve = new MMTweenType(new AnimationCurve(new Keyframe(0, 0), new Keyframe(1, 1)))
 the curve to animate the max anchor on More...
 
Vector2 AnchorMaxRemapZero = Vector2.zero
 the value to remap the max anchor curve's 0 on More...
 
Vector2 AnchorMaxRemapOne = Vector2.one
 the value to remap the max anchor curve's 1 on More...
 

Protected Member Functions

override void AutomateTargetAcquisition ()
 A method meant to be implemented per feedback letting you specify what happens (usually setting a target) More...
 
override void FillTargets ()
 Fills our list of targets, meant to be extended More...
 

Properties

override bool HasAutomatedTargetAcquisition [get]
 sets the inspector color for this feedback More...
 
override bool CanForceInitialValue [get]
 

Additional Inherited Members

 the possible modes for this feedback More...

Detailed Description

This feedback lets you control the min and max anchors of a RectTransform over time. That's the normalized position in the parent RectTransform that the lower left and upper right corners are anchored to.

Member Function Documentation

◆ AutomateTargetAcquisition()

override void MoreMountains.Feedbacks.MMF_RectTransformAnchor.AutomateTargetAcquisition ( )
protectedvirtual

A method meant to be implemented per feedback letting you specify what happens (usually setting a target)

Reimplemented from MoreMountains.Feedbacks.MMF_Feedback.

◆ FillTargets()

override void MoreMountains.Feedbacks.MMF_RectTransformAnchor.FillTargets ( )
protectedvirtual

Fills our list of targets, meant to be extended

Implements MoreMountains.Feedbacks.MMF_FeedbackBase.

Member Data Documentation

◆ AnchorMaxCurve

MMTweenType MoreMountains.Feedbacks.MMF_RectTransformAnchor.AnchorMaxCurve = new MMTweenType(new AnimationCurve(new Keyframe(0, 0), new Keyframe(1, 1)))

the curve to animate the max anchor on

◆ AnchorMaxRemapOne

Vector2 MoreMountains.Feedbacks.MMF_RectTransformAnchor.AnchorMaxRemapOne = Vector2.one

the value to remap the max anchor curve's 1 on

◆ AnchorMaxRemapZero

Vector2 MoreMountains.Feedbacks.MMF_RectTransformAnchor.AnchorMaxRemapZero = Vector2.zero

the value to remap the max anchor curve's 0 on

◆ AnchorMinCurve

MMTweenType MoreMountains.Feedbacks.MMF_RectTransformAnchor.AnchorMinCurve = new MMTweenType(new AnimationCurve(new Keyframe(0, 0), new Keyframe(1, 1)))

the curve to animate the min anchor on

◆ AnchorMinRemapOne

Vector2 MoreMountains.Feedbacks.MMF_RectTransformAnchor.AnchorMinRemapOne = Vector2.one

the value to remap the min anchor curve's 1 on

◆ AnchorMinRemapZero

Vector2 MoreMountains.Feedbacks.MMF_RectTransformAnchor.AnchorMinRemapZero = Vector2.zero

the value to remap the min anchor curve's 0 on

◆ ModifyAnchorMax

bool MoreMountains.Feedbacks.MMF_RectTransformAnchor.ModifyAnchorMax = true

whether or not to modify the max anchor

◆ ModifyAnchorMin

bool MoreMountains.Feedbacks.MMF_RectTransformAnchor.ModifyAnchorMin = true

whether or not to modify the min anchor

◆ TargetRectTransform

RectTransform MoreMountains.Feedbacks.MMF_RectTransformAnchor.TargetRectTransform

the target RectTransform to control

Property Documentation

◆ CanForceInitialValue

override bool MoreMountains.Feedbacks.MMF_RectTransformAnchor.CanForceInitialValue
get

◆ HasAutomatedTargetAcquisition

override bool MoreMountains.Feedbacks.MMF_RectTransformAnchor.HasAutomatedTargetAcquisition
get

sets the inspector color for this feedback


The documentation for this class was generated from the following file: