Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Definition ¶
type Definition struct { Object voxelobject.ProcessedVoxelObject Palette colour.Palette Manifest Manifest Scale float64 Debug bool Time bool Only8bpp bool }
func (*Definition) SoftenEdges ¶
func (d *Definition) SoftenEdges() bool
type Manifest ¶
type Manifest struct { LightingAngle int `json:"lighting_angle"` LightingElevation int `json:"lighting_elevation"` Size geometry.Vector3 `json:"size"` RenderElevationAngle int `json:"render_elevation"` Sprites []Sprite `json:"sprites"` DepthInfluence float64 `json:"depth_influence"` TiledNormals bool `json:"tiled_normals"` SolidBase bool `json:"solid_base"` SoftenEdges float64 `json:"soften_edges"` Accuracy int `json:"accuracy"` Sampler string `json:"sampler"` Overlap float64 `json:"overlap"` Brightness float64 `json:"brightness"` Contrast float64 `json:"contrast"` DetailBoost float64 `json:"detail_boost"` FadeToBlack bool `json:"fade_to_black"` EdgeThreshold float64 `json:"alpha_edge_threshold"` HardEdgeThreshold float64 `json:"hard_edge_threshold"` PadToFullLength bool `json:"pad_to_full_length"` SliceThreshold int `json:"slice_threshold"` SliceLength int `json:"slice_length"` SliceOverlap int `json:"slice_overlap"` Falloff float64 `json:"falloff_adjustment"` RecoveredVoxelSuppression float64 `json:"recovered_voxel_suppression"` Joggle float64 `json:"joggle"` DitherFlatAreas bool `json:"dither_flat_areas"` Fosterise bool `json:"fosterise"` NoEdgeFosterisation bool `json:"suppress_edge_fosterisation"` SoftShadow bool `json:"soft_shadow"` ShadowThreshold float64 `json:"shadow_threshold"` }
func (*Manifest) SetSpriteSizes ¶
func (m *Manifest) SetSpriteSizes()
type Sprite ¶
type Sprite struct { Angle float64 `json:"angle"` Width int `json:"width"` Height int `json:"height"` OffsetX float64 `json:"offset_x"` OffsetY float64 `json:"offset_y"` X int ZError float64 Flip bool `json:"flip"` Slice int `json:"slice"` RenderElevationAngle int `json:"render_elevation"` Joggle float64 `json:"joggle"` }
Click to show internal directories.
Click to hide internal directories.