public AttachNodeMover(AttachNode attachNode, Vector3 position, ILinearScaleProvider linearScaleProvider) { attachNode.ThrowIfNullArgument(nameof(attachNode)); linearScaleProvider.ThrowIfNullArgument(nameof(linearScaleProvider)); this.attachNode = attachNode; this.position = position; this.linearScaleProvider = linearScaleProvider; }
public PartAttachNodeModifier(AttachNode partAttachNode, AttachNode referenceAttachNode, AttachNode newAttachNode, ILinearScaleProvider linearScaleProvider) { partAttachNode.ThrowIfNullArgument(nameof(partAttachNode)); linearScaleProvider.ThrowIfNullArgument(nameof(linearScaleProvider)); this.partAttachNode = partAttachNode; this.referenceAttachNode = referenceAttachNode; this.newAttachNode = newAttachNode; this.linearScaleProvider = linearScaleProvider; }
public AttachNodeSizeModifier(AttachNode attachNode, int size, ILinearScaleProvider linearScaleProvider) { attachNode.ThrowIfNullArgument(nameof(attachNode)); linearScaleProvider.ThrowIfNullArgument(nameof(linearScaleProvider)); this.attachNode = attachNode; this.size = size; this.linearScaleProvider = linearScaleProvider; originalSize = attachNode.size; }
public AttachNodeToggler(AttachNode node) { node.ThrowIfNullArgument(nameof(node)); this.node = node; }