TopDown Engine v4.5
Loading...
Searching...
No Matches
MoreMountains.Tools.MMParallaxUI.ParallaxLayer Class Reference

A class used to store layer settings. More...

Public Attributes

RectTransform Rect
 the rect transform for this layer
float Speed = 2f
 the speed at which this layer should move
float Amplitude = 50f
 the maximum distance this layer can travel from its starting position
Vector2 StartPosition
 the starting position for this layer
bool Active = true
 if this is false, this layer won't move
bool ForceZPosition = true
 if this is true, will force the z position of this layer to ForcedZPosition
float ForcedZPosition = 0f
 the z position at which to force this layer to be

Detailed Description

A class used to store layer settings.

Member Data Documentation

◆ Active

bool MoreMountains.Tools.MMParallaxUI.ParallaxLayer.Active = true

if this is false, this layer won't move

◆ Amplitude

float MoreMountains.Tools.MMParallaxUI.ParallaxLayer.Amplitude = 50f

the maximum distance this layer can travel from its starting position

◆ ForcedZPosition

float MoreMountains.Tools.MMParallaxUI.ParallaxLayer.ForcedZPosition = 0f

the z position at which to force this layer to be

◆ ForceZPosition

bool MoreMountains.Tools.MMParallaxUI.ParallaxLayer.ForceZPosition = true

if this is true, will force the z position of this layer to ForcedZPosition

◆ Rect

RectTransform MoreMountains.Tools.MMParallaxUI.ParallaxLayer.Rect

the rect transform for this layer

◆ Speed

float MoreMountains.Tools.MMParallaxUI.ParallaxLayer.Speed = 2f

the speed at which this layer should move

◆ StartPosition

Vector2 MoreMountains.Tools.MMParallaxUI.ParallaxLayer.StartPosition

the starting position for this layer


The documentation for this class was generated from the following file:
  • H:/Code/MoreMountains/topdownengine/Assets/TopDownEngine/ThirdParty/MoreMountains/MMTools/Accessories/MMGUI/MMParallaxUI.cs