ECS::Builtins::Member
Inherits ECS::DSL::Component < Struct < Value < Object
Constants
ECS_NAME = "flecs.meta.Member"
Constructors
new(type : UInt64, count : Int32)
SourceClass methods
ecs_name
id(world : ECS::World)
is_extern?
Instance methods
count
Sourcecount=(count : Int32)
Sourcetype
Sourcetype=(type : UInt64)
Sourcewith_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.