Exemplo n.º 1
0
    public override HoloMachineEntity CreateHolobaseEntity(Holobase holobase)
    {
        HolobaseEntityCreationParameters parameters = new HolobaseEntityCreationParameters((SegmentEntity)this);

        parameters.AddVisualisation(holobase.mPreviewCube).Color = Color.green;
        return(holobase.CreateHolobaseEntity(parameters));
    }
        public override HoloMachineEntity CreateHolobaseEntity(Holobase holobase)
        {
            var parameters = new HolobaseEntityCreationParameters(this);

            parameters.AddVisualisation(holobase.mPreviewCube).Color = Color.yellow;
            return(holobase.CreateHolobaseEntity(parameters));
        }
Exemplo n.º 3
0
    public override HoloMachineEntity CreateHolobaseEntity(Holobase holobase)
    {
        HolobaseEntityCreationParameters hecp = new HolobaseEntityCreationParameters(this);
        HolobaseVisualisationParameters  hvp  = hecp.AddVisualisation(holobase.mPreviewCube);

        hvp.Color = cubeColor;
        return(holobase.CreateHolobaseEntity(hecp));
    }