manganese_serialization_kit v0.2.4 Manganese.SerializationKit.Structs.UnityTransformComponent

A Unity transform component with a position, rotation, and scale.

Deserialization

See from_map/1

Serialization

See to_map/1

Link to this section Summary

Types

t()

A Unity transform component.

Functions

Deserialize a transform component from a map.

Serialize a transform component to a map.

Link to this section Types

Link to this type

t()
t() :: %Manganese.SerializationKit.Structs.UnityTransformComponent{
  id: Manganese.SerializationKit.Structs.UnityComponent.id(),
  type: Manganese.SerializationKit.Enumerations.UnityComponentType.t()
}

A Unity transform component.

Link to this section Functions

Link to this function

from_map(map)
from_map(map()) :: t()

Deserialize a transform component from a map.

Link to this function

to_map(unity_transform_component)
to_map(t()) :: map()

Serialize a transform component to a map.