Table of Contents

Class RotatableCube

Namespace
Vintagestory.API.Datastructures
Assembly
VintagestoryAPI.dll
public class RotatableCube : Cuboidf, IEquatable<Cuboidf>
Inheritance
RotatableCube
Implements
Inherited Members

Constructors

RotatableCube()

public RotatableCube()

RotatableCube(float, float, float, float, float, float)

public RotatableCube(float MinX, float MinY, float MinZ, float MaxX, float MaxY, float MaxZ)

Parameters

MinX float
MinY float
MinZ float
MaxX float
MaxY float
MaxZ float

Fields

Origin

public Vec3d Origin

Field Value

Vec3d

RotateX

public float RotateX

Field Value

float

RotateY

public float RotateY

Field Value

float

RotateZ

public float RotateZ

Field Value

float

Methods

Clone()

public RotatableCube Clone()

Returns

RotatableCube

RotatedCopy()

public Cuboidf RotatedCopy()

Returns

Cuboidf

ToHitboxCuboidi(float, Vec3d)

public Cuboidi ToHitboxCuboidi(float rotateY, Vec3d origin = null)

Parameters

rotateY float
origin Vec3d

Returns

Cuboidi