Struct InputTransformSpots.TransformSpot
- Namespace
- FluffyUnderware.Curvy.Generator.Modules
Similar to CGSpot, but instead of having a constant position/rotation/scale, it is taken from a Transform
[Serializable]
public struct InputTransformSpots.TransformSpot
Constructors
TransformSpot(int, Transform)
Initializes a new instance of the InputTransformSpots.TransformSpot struct.
public TransformSpot(int index, Transform transform)
Parameters
indexintThe index of the object to place.
transformTransformThe Transform from which the spot's position/rotation/scale should be taken.
Properties
Index
The index of the object to place
public int Index { get; }
Property Value
Transform
The Transform from which the spot's position/rotation/scale should be taken
public Transform Transform { get; }
Property Value
- Transform
Methods
Equals(TransformSpot)
public bool Equals(InputTransformSpots.TransformSpot other)
Parameters
Returns
Equals(object)
public override bool Equals(object obj)
Parameters
objobject
Returns
GetHashCode()
public override int GetHashCode()
Returns
Operators
operator ==(TransformSpot, TransformSpot)
public static bool operator ==(InputTransformSpots.TransformSpot left, InputTransformSpots.TransformSpot right)
Parameters
Returns
operator !=(TransformSpot, TransformSpot)
public static bool operator !=(InputTransformSpots.TransformSpot left, InputTransformSpots.TransformSpot right)