PuppetProperties

Puppet properties

Constructors

this
this(Puppet puppet)

Constructs a new properties object.

Members

Functions

onDeserialize
void onDeserialize(DataNode object, ModelState state)

Deserializes the type.

onSerialize
void onSerialize(DataNode object)

Serializes the type.

Variables

author
nstring author;

Author of the puppet

graphicsUsePointFiltering
bool graphicsUsePointFiltering;

Whether the puppet should preserve pixel borders. This feature is mainly useful for puppets which use pixel art.

name
nstring name;

Name of the puppet

parent
Puppet parent;

Parent puppet object

physicsGravity
float physicsGravity;

Gravity for the physics system

physicsPixelsPerMeter
float physicsPixelsPerMeter;

Pixels-per-meter for the physics system

thumbnail
Texture thumbnail;

Thumbnail of the puppet.

Meta