MeshChecker Scripting Reference
MeshChecker Scripting Reference
MeshChecker Namespaces
HightlanderSolutions.MeshCheckerEditorExtension.Utilities
MCVector3Extensions Class
MCVector3Extensions Methods
ChangeY Method
ChangeY Method (Vector2, Single)
ChangeY Method (Vector3, Single)
MCVector3Extensions
ChangeY Method (Vector2, Single)
Changes the Y value of the target vector.
Namespace:
HightlanderSolutions.MeshCheckerEditorExtension.Utilities
Assembly:
MeshCheckerLibrary (in MeshCheckerLibrary.dll) Version: 2.3
Syntax
C#
Copy
[
PureAttribute
]
public
static
Vector2
ChangeY
(
this
Vector2
vector
,
float
y
)
Parameters
vector
Type:
Vector2
The target vector.
y
Type:
System
Single
New Y value.
Return Value
Type:
Vector2
Vector with specified Y coordinate.
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type
Vector2
. When you use instance method syntax to call this method, omit the first parameter. For more information, see
Extension Methods (Visual Basic)
or
Extension Methods (C# Programming Guide)
.
See Also
Reference
MCVector3Extensions Class
ChangeY Overload
HightlanderSolutions.MeshCheckerEditorExtension.Utilities Namespace
Send comments on this topic to
assets@hightlander.com