VectorFocus
Set your position data with a click
Loading...
Searching...
No Matches
Static Public Member Functions | List of all members
VectorFocus.VectorPropertyHelper Class Reference

Helper methods for SerializedProperty. More...

Static Public Member Functions

static Vector3 GetValue (SerializedProperty property)
 Retrieve the value (vector) of a serialiedProperty, return always Vector3.
 
static void SetValue (SerializedProperty property, Vector3 value)
 Set the value of a SerialiedProperty vector.
 
static bool IsPropertyDisposable (SerializedProperty serializedProperty)
 We reproduce the internal verify method.
 
static bool IsPropertyTypeValid (SerializedProperty serializedProperty)
 Check if propertyType is correct for an usage of VectorFocus.
 

Detailed Description

Helper methods for SerializedProperty.

Member Function Documentation

◆ GetValue()

static Vector3 VectorFocus.VectorPropertyHelper.GetValue ( SerializedProperty  property)
static

Retrieve the value (vector) of a serialiedProperty, return always Vector3.

Parameters
property
Returns

◆ IsPropertyDisposable()

static bool VectorFocus.VectorPropertyHelper.IsPropertyDisposable ( SerializedProperty  serializedProperty)
static

We reproduce the internal verify method.

Parameters
serializedProperty
Returns

◆ IsPropertyTypeValid()

static bool VectorFocus.VectorPropertyHelper.IsPropertyTypeValid ( SerializedProperty  serializedProperty)
static

Check if propertyType is correct for an usage of VectorFocus.

Parameters
serializedProperty
Returns

◆ SetValue()

static void VectorFocus.VectorPropertyHelper.SetValue ( SerializedProperty  property,
Vector3  value 
)
static

Set the value of a SerialiedProperty vector.

Parameters
property
value

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