ByChance.Levels3D.ChunkTemplate3D.AddContext C# (CSharp) Method

AddContext() private method

Adds the passed context to the list of contexts of this chunk template and sets its chunk-wide unique index.
private AddContext ( Context context ) : void
context ByChance.Core.Context Context to add to this template.
return void
        private void AddContext(Context context)
        {
            context.Index = this.ContextCount;
            this.ChunkTemplateContexts.Add(context);
        }

Same methods

ChunkTemplate3D::AddContext ( Vector3F relativePosition ) : void
ChunkTemplate3D::AddContext ( Vector3F relativePosition, string tag ) : void