Table of Contents

Class PlacedObject

Namespace
Valheim.Testing.Game
Assembly
Valheim.Testing.Game.dll

A placed world object as observed or expected: prefab hash, position (x, y, z) and rotation quaternion (x, y, z, w).

public sealed record PlacedObject
Inheritance
object
PlacedObject

Constructors

PlacedObject(int, double[], double[])

A placed world object as observed or expected: prefab hash, position (x, y, z) and rotation quaternion (x, y, z, w).

public PlacedObject(int PrefabHash, double[] Position, double[] Rotation)

Parameters

PrefabHash int
Position double[]
Rotation double[]

Properties

Position

public double[] Position { get; init; }

Property Value

double[]

PrefabHash

public int PrefabHash { get; init; }

Property Value

int

Rotation

public double[] Rotation { get; init; }

Property Value

double[]