Table of Contents

Struct InputTransformSpots.TransformSpot

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

index int

The index of the object to place.

transform Transform

The 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

int

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

other InputTransformSpots.TransformSpot

Returns

bool

Equals(object)

public override bool Equals(object obj)

Parameters

obj object

Returns

bool

GetHashCode()

public override int GetHashCode()

Returns

int

Operators

operator ==(TransformSpot, TransformSpot)

public static bool operator ==(InputTransformSpots.TransformSpot left, InputTransformSpots.TransformSpot right)

Parameters

left InputTransformSpots.TransformSpot
right InputTransformSpots.TransformSpot

Returns

bool

operator !=(TransformSpot, TransformSpot)

public static bool operator !=(InputTransformSpots.TransformSpot left, InputTransformSpots.TransformSpot right)

Parameters

left InputTransformSpots.TransformSpot
right InputTransformSpots.TransformSpot

Returns

bool