Table of Contents

Class ModelTransform

Namespace
Vintagestory.API.Common
Assembly
VintagestoryAPI.dll

Used for transformations applied to a block or item model. Uses values from ModelTransformNoDefaults but will assign defaults if not included.

public class ModelTransform : ModelTransformNoDefaults
Inheritance
ModelTransform
Inherited Members

Examples

Use '.tfedit' in game to help customize these values, just make sure to copy them into your json file when you finish.

"tpHandTransform": {
	"translation": {
		"x": -0.87,
		"y": -0.01,
		"z": -0.56
	},
	"rotation": {
		"x": -90,
		"y": 0,
		"z": 0
	},
	"origin": {
		"x": 0.5,
		"y": 0,
		"z": 0.5
	},
	"scale": 0.8
},