struct

ECS::Builtins::Member

Inherits ECS::DSL::Component < Struct < Value < Object

Constants

ECS_NAME = "flecs.meta.Member"

Constructors

new(type : UInt64, count : Int32)
Source

Class methods

ecs_name
id(world : ECS::World)
is_extern?

Instance methods

count
Source
count=(count : Int32)
Source
type
Source
type=(type : UInt64)
Source
with_count(value)

Update the count and return self for chaining.

This is useful for mutating a struct because it ensures that the mutated instance of the struct is what is returned.

with_type(value)

Update the type and return self for chaining.

This is useful for mutating a struct because it ensures that the mutated instance of the struct is what is returned.