Show / Hide Table of Contents

Class TransformExtensions

Inheritance
System.Object
TransformExtensions
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: AssetRipper.SourceGenerated.Extensions
Assembly: AssetRipper.SourceGenerated.Extensions.dll
Syntax
public static class TransformExtensions

Methods

| Improve this Doc View Source

CalculateRootOrder(ITransform)

Find the sibling index (aka the root order) of the transform

Declaration
public static int CalculateRootOrder(this ITransform transform)
Parameters
Type Name Description
AssetRipper.SourceGenerated.Classes.ClassID_4.ITransform transform

The relevant transform

Returns
Type Description
System.Int32

The sibling index of the transform

| Improve this Doc View Source

FindChild(ITransform, String)

Declaration
public static ITransform FindChild(this ITransform transform, string path)
Parameters
Type Name Description
AssetRipper.SourceGenerated.Classes.ClassID_4.ITransform transform
System.String path
Returns
Type Description
AssetRipper.SourceGenerated.Classes.ClassID_4.ITransform
| Improve this Doc View Source

GetRootPath(ITransform)

Declaration
public static string GetRootPath(this ITransform transform)
Parameters
Type Name Description
AssetRipper.SourceGenerated.Classes.ClassID_4.ITransform transform
Returns
Type Description
System.String
| Improve this Doc View Source

InitializeDefault(ITransform)

Initialize an injected Transform with some sensible default values.

Declaration
public static void InitializeDefault(this ITransform transform)
Parameters
Type Name Description
AssetRipper.SourceGenerated.Classes.ClassID_4.ITransform transform
Remarks

Since this Transform is assumed to have no AssetRipper.SourceGenerated.Classes.ClassID_4.ITransform.Father_C4, its AssetRipper.SourceGenerated.Classes.ClassID_4.ITransform.RootOrder_C4 is zero.

| Improve this Doc View Source

ToInverseTransformation(ITransform)

Declaration
public static Transformation ToInverseTransformation(this ITransform transform)
Parameters
Type Name Description
AssetRipper.SourceGenerated.Classes.ClassID_4.ITransform transform
Returns
Type Description
AssetRipper.Numerics.Transformation
| Improve this Doc View Source

ToTransformation(ITransform)

Declaration
public static Transformation ToTransformation(this ITransform transform)
Parameters
Type Name Description
AssetRipper.SourceGenerated.Classes.ClassID_4.ITransform transform
Returns
Type Description
AssetRipper.Numerics.Transformation
  • Improve this Doc
  • View Source
☀
☾
In This Article
Back to top
Generated by DocFX
☀
☾