Struct SpriteShapeDeffinition
Represents the definition of the shape for a sprite, including its location and size.
Inherited Members
Namespace: Genesis.Core.GameElements
Assembly: Genesis.dll
Syntax
public struct SpriteShapeDeffinition
Constructors
SpriteShapeDeffinition(Vec3, Vec3)
Declaration
public SpriteShapeDeffinition(Vec3 loc, Vec3 size)
Parameters
Type | Name | Description |
---|---|---|
Vec3 | loc | |
Vec3 | size |
Fields
locX
Declaration
public float locX
Field Value
Type | Description |
---|---|
float |
locY
Declaration
public float locY
Field Value
Type | Description |
---|---|
float |
sizeX
Declaration
public float sizeX
Field Value
Type | Description |
---|---|
float |
sizeY
Declaration
public float sizeY
Field Value
Type | Description |
---|---|
float |