You.i Engine
CYISceneView::YI_ANCHOR_DATA Struct Reference

Detailed Description

Anchors are used to apply scaling rules.

As a view is scaled, if it contains responsive layout anchors and has responsive layout enabled, it will use its anchors to scale and position its children.

See also
GetAnchor()
EnableResponsiveLayout
DisableResponsiveLayout

#include <view/YiSceneView.h>

Public Member Functions

 YI_ANCHOR_DATA ()
 

Public Attributes

CYISceneNodepAnchor
 
glm::vec3 originalScale
 

Constructor & Destructor Documentation

◆ YI_ANCHOR_DATA()

CYISceneView::YI_ANCHOR_DATA::YI_ANCHOR_DATA ( )
inline

Member Data Documentation

◆ originalScale

glm::vec3 CYISceneView::YI_ANCHOR_DATA::originalScale

◆ pAnchor

CYISceneNode* CYISceneView::YI_ANCHOR_DATA::pAnchor

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