class Nya::Render::Texture2D
Defined in:
nya/render/texture2d.crConstant Summary
-
NYA_REGISTERED =
true
-
PROPERTIES =
{"position" => "CrystalEdge::Vector2", "size" => "CrystalEdge::Vector2"} of String => String
Class Method Summary
- .deserialize(xml, ctx : SerializationContext | Nil = nil)
- .transform_name(name)
-
.xml_name
Returns XML compatible name of a type (see
Nya::Serializable.translate_type
)
Instance Method Summary
- #position : CrystalEdge::Vector2
- #position=(position : CrystalEdge::Vector2)
- #size : CrystalEdge::Vector2
- #size=(size : CrystalEdge::Vector2)