TinyLifeWeb/docs/api/TinyLife.Objects.Visibility.yml
2024-08-08 15:31:09 +02:00

410 lines
12 KiB
YAML
Generated

### YamlMime:ManagedReference
items:
- uid: TinyLife.Objects.Visibility
commentId: T:TinyLife.Objects.Visibility
id: Visibility
parent: TinyLife.Objects
children:
- TinyLife.Objects.Visibility.HideZoomedOut
- TinyLife.Objects.Visibility.Static
- TinyLife.Objects.Visibility.WhenVisible
- TinyLife.Objects.Visibility.WhenVisibleExt
langs:
- csharp
- vb
name: Visibility
nameWithType: Visibility
fullName: TinyLife.Objects.Visibility
type: Enum
source:
remote:
path: TinyLife/Objects/MapObject.cs
branch: main
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: Visibility
path: ../TinyLife/Objects/MapObject.cs
startLine: 869
assemblies:
- Tiny Life
namespace: TinyLife.Objects
summary: An enumeration that represents visibility settings for <xref href="TinyLife.Objects.MapObject" data-throw-if-not-resolved="false"></xref> objects
example: []
syntax:
content: public enum Visibility
content.vb: Public Enum Visibility
extensionMethods:
- TinyLife.Objects.Visibility.TinyLife.Utilities.Extensions.JsonCopy``1
- uid: TinyLife.Objects.Visibility.WhenVisible
commentId: F:TinyLife.Objects.Visibility.WhenVisible
id: WhenVisible
parent: TinyLife.Objects.Visibility
langs:
- csharp
- vb
name: WhenVisible
nameWithType: Visibility.WhenVisible
fullName: TinyLife.Objects.Visibility.WhenVisible
type: Field
source:
remote:
path: TinyLife/Objects/MapObject.cs
branch: main
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: WhenVisible
path: ../TinyLife/Objects/MapObject.cs
startLine: 874
assemblies:
- Tiny Life
namespace: TinyLife.Objects
summary: A visibility setting that causes the object to be visible only when the <xref href="TinyLife.World.MapSection" data-throw-if-not-resolved="false"></xref> it is in is in view
example: []
syntax:
content: WhenVisible = 0
return:
type: TinyLife.Objects.Visibility
- uid: TinyLife.Objects.Visibility.WhenVisibleExt
commentId: F:TinyLife.Objects.Visibility.WhenVisibleExt
id: WhenVisibleExt
parent: TinyLife.Objects.Visibility
langs:
- csharp
- vb
name: WhenVisibleExt
nameWithType: Visibility.WhenVisibleExt
fullName: TinyLife.Objects.Visibility.WhenVisibleExt
type: Field
source:
remote:
path: TinyLife/Objects/MapObject.cs
branch: main
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: WhenVisibleExt
path: ../TinyLife/Objects/MapObject.cs
startLine: 878
assemblies:
- Tiny Life
namespace: TinyLife.Objects
summary: A visibility setting that causes the object to be visible when the <xref href="TinyLife.World.MapSection" data-throw-if-not-resolved="false"></xref> it is in, or any adjacent map section, is in view
example: []
syntax:
content: WhenVisibleExt = 1
return:
type: TinyLife.Objects.Visibility
- uid: TinyLife.Objects.Visibility.HideZoomedOut
commentId: F:TinyLife.Objects.Visibility.HideZoomedOut
id: HideZoomedOut
parent: TinyLife.Objects.Visibility
langs:
- csharp
- vb
name: HideZoomedOut
nameWithType: Visibility.HideZoomedOut
fullName: TinyLife.Objects.Visibility.HideZoomedOut
type: Field
source:
remote:
path: TinyLife/Objects/MapObject.cs
branch: main
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: HideZoomedOut
path: ../TinyLife/Objects/MapObject.cs
startLine: 882
assemblies:
- Tiny Life
namespace: TinyLife.Objects
summary: A visibility setting that causes the object to be visible when the <xref href="TinyLife.World.MapSection" data-throw-if-not-resolved="false"></xref> it is in is in view, but only if the game <xref href="MLEM.Cameras.Camera" data-throw-if-not-resolved="false"></xref>'s <xref href="MLEM.Cameras.Camera.Scale" data-throw-if-not-resolved="false"></xref> is greather than <xref href="TinyLife.Utilities.TextureHandler.TileScale" data-throw-if-not-resolved="false"></xref>.
example: []
syntax:
content: HideZoomedOut = 2
return:
type: TinyLife.Objects.Visibility
- uid: TinyLife.Objects.Visibility.Static
commentId: F:TinyLife.Objects.Visibility.Static
id: Static
parent: TinyLife.Objects.Visibility
langs:
- csharp
- vb
name: Static
nameWithType: Visibility.Static
fullName: TinyLife.Objects.Visibility.Static
type: Field
source:
remote:
path: TinyLife/Objects/MapObject.cs
branch: main
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: Static
path: ../TinyLife/Objects/MapObject.cs
startLine: 887
assemblies:
- Tiny Life
namespace: TinyLife.Objects
summary: >-
A visibility setting that causes the object to be drawn using a <xref href="MLEM.Graphics.StaticSpriteBatch" data-throw-if-not-resolved="false"></xref> rather than a <xref href="Microsoft.Xna.Framework.Graphics.SpriteBatch" data-throw-if-not-resolved="false"></xref>.
Objects that move a lot, or objects that are animated, should not use this visibility setting.
example: []
syntax:
content: Static = 3
return:
type: TinyLife.Objects.Visibility
references:
- uid: TinyLife.Objects.MapObject
commentId: T:TinyLife.Objects.MapObject
parent: TinyLife.Objects
href: TinyLife.Objects.MapObject.html
name: MapObject
nameWithType: MapObject
fullName: TinyLife.Objects.MapObject
- uid: TinyLife.Objects
commentId: N:TinyLife.Objects
href: TinyLife.html
name: TinyLife.Objects
nameWithType: TinyLife.Objects
fullName: TinyLife.Objects
spec.csharp:
- uid: TinyLife
name: TinyLife
href: TinyLife.html
- name: .
- uid: TinyLife.Objects
name: Objects
href: TinyLife.Objects.html
spec.vb:
- uid: TinyLife
name: TinyLife
href: TinyLife.html
- name: .
- uid: TinyLife.Objects
name: Objects
href: TinyLife.Objects.html
- uid: TinyLife.Objects.Visibility.TinyLife.Utilities.Extensions.JsonCopy``1
commentId: M:TinyLife.Utilities.Extensions.JsonCopy``1(``0)
parent: TinyLife.Utilities.Extensions
definition: TinyLife.Utilities.Extensions.JsonCopy``1(``0)
href: TinyLife.Utilities.Extensions.html#TinyLife_Utilities_Extensions_JsonCopy__1___0_
name: JsonCopy<Visibility>(Visibility)
nameWithType: Extensions.JsonCopy<Visibility>(Visibility)
fullName: TinyLife.Utilities.Extensions.JsonCopy<TinyLife.Objects.Visibility>(TinyLife.Objects.Visibility)
nameWithType.vb: Extensions.JsonCopy(Of Visibility)(Visibility)
fullName.vb: TinyLife.Utilities.Extensions.JsonCopy(Of TinyLife.Objects.Visibility)(TinyLife.Objects.Visibility)
name.vb: JsonCopy(Of Visibility)(Visibility)
spec.csharp:
- uid: TinyLife.Utilities.Extensions.JsonCopy``1(TinyLife.Objects.Visibility)
name: JsonCopy
href: TinyLife.Utilities.Extensions.html#TinyLife_Utilities_Extensions_JsonCopy__1___0_
- name: <
- uid: TinyLife.Objects.Visibility
name: Visibility
href: TinyLife.Objects.Visibility.html
- name: '>'
- name: (
- uid: TinyLife.Objects.Visibility
name: Visibility
href: TinyLife.Objects.Visibility.html
- name: )
spec.vb:
- uid: TinyLife.Utilities.Extensions.JsonCopy``1(TinyLife.Objects.Visibility)
name: JsonCopy
href: TinyLife.Utilities.Extensions.html#TinyLife_Utilities_Extensions_JsonCopy__1___0_
- name: (
- name: Of
- name: " "
- uid: TinyLife.Objects.Visibility
name: Visibility
href: TinyLife.Objects.Visibility.html
- name: )
- name: (
- uid: TinyLife.Objects.Visibility
name: Visibility
href: TinyLife.Objects.Visibility.html
- name: )
- uid: TinyLife.Utilities.Extensions.JsonCopy``1(``0)
commentId: M:TinyLife.Utilities.Extensions.JsonCopy``1(``0)
href: TinyLife.Utilities.Extensions.html#TinyLife_Utilities_Extensions_JsonCopy__1___0_
name: JsonCopy<T>(T)
nameWithType: Extensions.JsonCopy<T>(T)
fullName: TinyLife.Utilities.Extensions.JsonCopy<T>(T)
nameWithType.vb: Extensions.JsonCopy(Of T)(T)
fullName.vb: TinyLife.Utilities.Extensions.JsonCopy(Of T)(T)
name.vb: JsonCopy(Of T)(T)
spec.csharp:
- uid: TinyLife.Utilities.Extensions.JsonCopy``1(``0)
name: JsonCopy
href: TinyLife.Utilities.Extensions.html#TinyLife_Utilities_Extensions_JsonCopy__1___0_
- name: <
- name: T
- name: '>'
- name: (
- name: T
- name: )
spec.vb:
- uid: TinyLife.Utilities.Extensions.JsonCopy``1(``0)
name: JsonCopy
href: TinyLife.Utilities.Extensions.html#TinyLife_Utilities_Extensions_JsonCopy__1___0_
- name: (
- name: Of
- name: " "
- name: T
- name: )
- name: (
- name: T
- name: )
- uid: TinyLife.Utilities.Extensions
commentId: T:TinyLife.Utilities.Extensions
parent: TinyLife.Utilities
href: TinyLife.Utilities.Extensions.html
name: Extensions
nameWithType: Extensions
fullName: TinyLife.Utilities.Extensions
- uid: TinyLife.Utilities
commentId: N:TinyLife.Utilities
href: TinyLife.html
name: TinyLife.Utilities
nameWithType: TinyLife.Utilities
fullName: TinyLife.Utilities
spec.csharp:
- uid: TinyLife
name: TinyLife
href: TinyLife.html
- name: .
- uid: TinyLife.Utilities
name: Utilities
href: TinyLife.Utilities.html
spec.vb:
- uid: TinyLife
name: TinyLife
href: TinyLife.html
- name: .
- uid: TinyLife.Utilities
name: Utilities
href: TinyLife.Utilities.html
- uid: TinyLife.World.MapSection
commentId: T:TinyLife.World.MapSection
parent: TinyLife.World
href: TinyLife.World.MapSection.html
name: MapSection
nameWithType: MapSection
fullName: TinyLife.World.MapSection
- uid: TinyLife.Objects.Visibility
commentId: T:TinyLife.Objects.Visibility
parent: TinyLife.Objects
href: TinyLife.Objects.Visibility.html
name: Visibility
nameWithType: Visibility
fullName: TinyLife.Objects.Visibility
- uid: TinyLife.World
commentId: N:TinyLife.World
href: TinyLife.html
name: TinyLife.World
nameWithType: TinyLife.World
fullName: TinyLife.World
spec.csharp:
- uid: TinyLife
name: TinyLife
href: TinyLife.html
- name: .
- uid: TinyLife.World
name: World
href: TinyLife.World.html
spec.vb:
- uid: TinyLife
name: TinyLife
href: TinyLife.html
- name: .
- uid: TinyLife.World
name: World
href: TinyLife.World.html
- uid: MLEM.Cameras.Camera
commentId: T:MLEM.Cameras.Camera
parent: MLEM.Cameras
isExternal: true
name: Camera
nameWithType: Camera
fullName: MLEM.Cameras.Camera
- uid: MLEM.Cameras.Camera.Scale
commentId: P:MLEM.Cameras.Camera.Scale
isExternal: true
name: Scale
nameWithType: Camera.Scale
fullName: MLEM.Cameras.Camera.Scale
- uid: TinyLife.Utilities.TextureHandler.TileScale
commentId: P:TinyLife.Utilities.TextureHandler.TileScale
href: TinyLife.Utilities.TextureHandler.html#TinyLife_Utilities_TextureHandler_TileScale
name: TileScale
nameWithType: TextureHandler.TileScale
fullName: TinyLife.Utilities.TextureHandler.TileScale
- uid: MLEM.Cameras
commentId: N:MLEM.Cameras
isExternal: true
name: MLEM.Cameras
nameWithType: MLEM.Cameras
fullName: MLEM.Cameras
spec.csharp:
- uid: MLEM
name: MLEM
isExternal: true
- name: .
- uid: MLEM.Cameras
name: Cameras
isExternal: true
spec.vb:
- uid: MLEM
name: MLEM
isExternal: true
- name: .
- uid: MLEM.Cameras
name: Cameras
isExternal: true
- uid: MLEM.Graphics.StaticSpriteBatch
commentId: T:MLEM.Graphics.StaticSpriteBatch
isExternal: true
name: StaticSpriteBatch
nameWithType: StaticSpriteBatch
fullName: MLEM.Graphics.StaticSpriteBatch
- uid: Microsoft.Xna.Framework.Graphics.SpriteBatch
commentId: T:Microsoft.Xna.Framework.Graphics.SpriteBatch
parent: Microsoft.Xna.Framework.Graphics
isExternal: true
name: SpriteBatch
nameWithType: SpriteBatch
fullName: Microsoft.Xna.Framework.Graphics.SpriteBatch
- uid: Microsoft.Xna.Framework.Graphics
commentId: N:Microsoft.Xna.Framework.Graphics
isExternal: true
name: Microsoft.Xna.Framework.Graphics
nameWithType: Microsoft.Xna.Framework.Graphics
fullName: Microsoft.Xna.Framework.Graphics
spec.csharp:
- uid: Microsoft
name: Microsoft
isExternal: true
- name: .
- uid: Microsoft.Xna
name: Xna
isExternal: true
- name: .
- uid: Microsoft.Xna.Framework
name: Framework
isExternal: true
- name: .
- uid: Microsoft.Xna.Framework.Graphics
name: Graphics
isExternal: true
spec.vb:
- uid: Microsoft
name: Microsoft
isExternal: true
- name: .
- uid: Microsoft.Xna
name: Xna
isExternal: true
- name: .
- uid: Microsoft.Xna.Framework
name: Framework
isExternal: true
- name: .
- uid: Microsoft.Xna.Framework.Graphics
name: Graphics
isExternal: true