Tanoda
UnityEngine.UI.Extensions.UIImageCrop Class Reference
Inheritance diagram for UnityEngine.UI.Extensions.UIImageCrop:

Public Member Functions

void SetMaterial ()
 
void OnValidate ()
 
void SetXCrop (float xcrop)
 Set the x crop factor, with x being a normalized value 0-1f.
More...
 
void SetYCrop (float ycrop)
 Set the y crop factor, with y being a normalized value 0-1f.
More...
 

Public Attributes

float XCrop = 0f
 
float YCrop = 0f
 

Detailed Description

Definition at line 10 of file UIImageCrop.cs.

Member Function Documentation

◆ OnValidate()

void UnityEngine.UI.Extensions.UIImageCrop.OnValidate ( )

Definition at line 44 of file UIImageCrop.cs.

◆ SetMaterial()

void UnityEngine.UI.Extensions.UIImageCrop.SetMaterial ( )

Definition at line 25 of file UIImageCrop.cs.

◆ SetXCrop()

void UnityEngine.UI.Extensions.UIImageCrop.SetXCrop ( float  xcrop)

Set the x crop factor, with x being a normalized value 0-1f.

Parameters
xcrop

Definition at line 54 of file UIImageCrop.cs.

◆ SetYCrop()

void UnityEngine.UI.Extensions.UIImageCrop.SetYCrop ( float  ycrop)

Set the y crop factor, with y being a normalized value 0-1f.

Parameters
ycrop

Definition at line 64 of file UIImageCrop.cs.

Member Data Documentation

◆ XCrop

float UnityEngine.UI.Extensions.UIImageCrop.XCrop = 0f

Definition at line 15 of file UIImageCrop.cs.

◆ YCrop

float UnityEngine.UI.Extensions.UIImageCrop.YCrop = 0f

Definition at line 16 of file UIImageCrop.cs.


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